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,8 +1,4 @@
{ { config, pkgs, ... }: {
config,
pkgs,
...
}: {
imports = [ ./autorandr.nix ./openweathermap-secrets.nix ]; imports = [ ./autorandr.nix ./openweathermap-secrets.nix ];
environment.systemPackages = with pkgs; [ dconf ]; environment.systemPackages = with pkgs; [ dconf ];
programs.dconf.enable = true; programs.dconf.enable = true;
@ -10,21 +6,17 @@
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" ];
} }];
];
} }
]; ];
@ -34,6 +26,7 @@
}; };
services = { services = {
clipmenu.enable = true;
physlock = { physlock = {
enable = true; enable = true;
allowAnyUser = true; allowAnyUser = true;