diff options
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -45,7 +45,6 @@ | |||
45 | git | 45 | git |
46 | slock | 46 | slock |
47 | shadow | 47 | shadow |
48 | (callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; }) | ||
49 | (callPackage ./utils/nix/rebuild-system.nix {}) | 48 | (callPackage ./utils/nix/rebuild-system.nix {}) |
50 | rewacom | 49 | rewacom |
51 | ]; | 50 | ]; |
@@ -350,17 +349,19 @@ | |||
350 | %wheel ALL=(ALL) NOPASSWD: SYSCTRL | 349 | %wheel ALL=(ALL) NOPASSWD: SYSCTRL |
351 | ''; | 350 | ''; |
352 | 351 | ||
353 | setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"]; | 352 | security.wrappers = { "slock".source = "${pkgs.slock}/bin/slock"; |
354 | 353 | "mount".source = "${pkgs.utillinux.bin}/bin/mount"; | |
355 | setuidOwners = [ { group = "users"; | 354 | "umount".source = "${pkgs.utillinux.bin}/bin/umount"; |
356 | owner = "gkleen"; | 355 | "newgrp".source = "${pkgs.shadow}/bin/newgrp"; |
357 | permissions = "u+rx,g+x,o+x"; | 356 | "thinklight".source = |
358 | program = "notify-gkleen"; | 357 | "${(callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })}/bin/thinklight"; |
359 | setgid = true; | 358 | "notify-gkleen" = { |
360 | setuid = true; | 359 | group = "users"; |
361 | source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; | 360 | owner = "gkleen"; |
362 | } | 361 | setgid = true; |
363 | ]; | 362 | setuid = true; |
363 | source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; | ||
364 | }; | ||
364 | 365 | ||
365 | polkit = { | 366 | polkit = { |
366 | enable = true; | 367 | enable = true; |