summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-02-20 01:46:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-02-20 01:46:26 +0100
commit2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2 (patch)
treec018331660ce07ca04e280aa0f1db26bcb2fc921
parentd32974e2bc198f05af65ff0826f54554a58a89ce (diff)
downloadnixos-2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2.tar
nixos-2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2.tar.gz
nixos-2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2.tar.bz2
nixos-2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2.tar.xz
nixos-2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2.zip
Scoping
-rw-r--r--hel.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/hel.nix b/hel.nix
index a85797a5..602db286 100644
--- a/hel.nix
+++ b/hel.nix
@@ -349,20 +349,20 @@
349 %wheel ALL=(ALL) NOPASSWD: SYSCTRL 349 %wheel ALL=(ALL) NOPASSWD: SYSCTRL
350 ''; 350 '';
351 351
352 security.wrappers = { "slock".source = "${pkgs.slock}/bin/slock"; 352 wrappers = { "slock".source = "${pkgs.slock}/bin/slock";
353 "mount".source = "${pkgs.utillinux.bin}/bin/mount"; 353 "mount".source = "${pkgs.utillinux.bin}/bin/mount";
354 "umount".source = "${pkgs.utillinux.bin}/bin/umount"; 354 "umount".source = "${pkgs.utillinux.bin}/bin/umount";
355 "newgrp".source = "${pkgs.shadow}/bin/newgrp"; 355 "newgrp".source = "${pkgs.shadow}/bin/newgrp";
356 "thinklight".source = 356 "thinklight".source =
357 "${(pkgs.callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })}/bin/thinklight"; 357 "${(pkgs.callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })}/bin/thinklight";
358 "notify-gkleen" = { 358 "notify-gkleen" = {
359 group = "users"; 359 group = "users";
360 owner = "gkleen"; 360 owner = "gkleen";
361 setgid = true; 361 setgid = true;
362 setuid = true; 362 setuid = true;
363 source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; 363 source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen'';
364 }; 364 };
365 }; 365 };
366 366
367 polkit = { 367 polkit = {
368 enable = true; 368 enable = true;