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; power-profiles-daemon.enable = true;
upower.enable = true; upower.enable = true;
fstrim.enable = true; fstrim.enable = true;
clipmenu.enable = true;
avahi = { avahi = {
enable = true; enable = true;

View file

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