main-laptop: use tools,security wrappers

This commit is contained in:
makefu 2017-03-01 15:50:58 +01:00
parent 5b53760ee4
commit c967611762
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -14,7 +14,8 @@ in {
./base-gui.nix ./base-gui.nix
./fetchWallpaper.nix ./fetchWallpaper.nix
./zsh-user.nix ./zsh-user.nix
./laptop-utils.nix ./tools/core.nix
./tools/core-gui.nix
]; ];
users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ]; users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
@ -60,7 +61,7 @@ in {
sleep 1 sleep 1
'') '')
[ 5 4 3 2 1 ]} [ 5 4 3 2 1 ]}
/var/setuid-wrappers/sudo ${pkgs.systemd}/bin/systemctl suspend /var/run/wrappers/bin/sudo ${pkgs.systemd}/bin/systemctl suspend
''; '';
}; };
}; };