From 2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 20 Feb 2017 01:46:26 +0100 Subject: Scoping --- hel.nix | 28 ++++++++++++++-------------- 1 file 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 @@ %wheel ALL=(ALL) NOPASSWD: SYSCTRL ''; - security.wrappers = { "slock".source = "${pkgs.slock}/bin/slock"; - "mount".source = "${pkgs.utillinux.bin}/bin/mount"; - "umount".source = "${pkgs.utillinux.bin}/bin/umount"; - "newgrp".source = "${pkgs.shadow}/bin/newgrp"; - "thinklight".source = - "${(pkgs.callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })}/bin/thinklight"; - "notify-gkleen" = { - group = "users"; - owner = "gkleen"; - setgid = true; - setuid = true; - source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; - }; - }; + wrappers = { "slock".source = "${pkgs.slock}/bin/slock"; + "mount".source = "${pkgs.utillinux.bin}/bin/mount"; + "umount".source = "${pkgs.utillinux.bin}/bin/umount"; + "newgrp".source = "${pkgs.shadow}/bin/newgrp"; + "thinklight".source = + "${(pkgs.callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; })}/bin/thinklight"; + "notify-gkleen" = { + group = "users"; + owner = "gkleen"; + setgid = true; + setuid = true; + source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; + }; + }; polkit = { enable = true; -- cgit v1.2.3