only use clipmenu with i3

This commit is contained in:
Cyryl Płotnicki 2023-03-26 10:49:44 +01:00
parent 9bfb975517
commit b92e80a630
2 changed files with 19 additions and 27 deletions

View file

@ -14,7 +14,6 @@
power-profiles-daemon.enable = true;
upower.enable = true;
fstrim.enable = true;
clipmenu.enable = true;
avahi = {
enable = true;

View file

@ -1,45 +1,38 @@
{
config,
pkgs,
...
}: {
imports = [./autorandr.nix ./openweathermap-secrets.nix];
environment.systemPackages = with pkgs; [dconf];
{ config, pkgs, ... }: {
imports = [ ./autorandr.nix ./openweathermap-secrets.nix ];
environment.systemPackages = with pkgs; [ dconf ];
programs.dconf.enable = true;
security.sudo.extraRules = [
{
users = ["cyryl"];
commands = [
{
users = [ "cyryl" ];
commands = [{
command = "${pkgs.i3}/bin/i3-msg";
options = ["NOPASSWD"];
}
];
options = [ "NOPASSWD" ];
}];
}
{
users = ["cyryl"];
commands = [
{
users = [ "cyryl" ];
commands = [{
command = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
options = ["NOPASSWD"];
}
];
options = [ "NOPASSWD" ];
}];
}
];
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-kde];
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-kde ];
};
services = {
clipmenu.enable = true;
physlock = {
enable = true;
allowAnyUser = true;
};
dbus = {packages = with pkgs; [gnome2.GConf dconf];};
dbus = { packages = with pkgs; [ gnome2.GConf dconf ]; };
fractalart.enable = true;
colord.enable = true;
@ -49,8 +42,8 @@
enableHidpi = true;
};
};
home-manager.users.cyryl = {...}: {
imports = [./home.nix];
home.packages = with pkgs; [];
home-manager.users.cyryl = { ... }: {
imports = [ ./home.nix ];
home.packages = with pkgs; [ ];
};
}