0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Getting rid of the var indirection and using a bin path instead

This commit is contained in:
Parnell Springmeyer 2017-01-29 04:11:01 -06:00
parent a8cb2afa98
commit 4aa0923009
No known key found for this signature in database
GPG key ID: DCCF89258EAD874A
45 changed files with 86 additions and 65 deletions

View file

@ -69,12 +69,12 @@ in
environment.systemPackages = [ virtualbox ];
security.wrappers = let
mkSuid = program: "${program}" = {
mkSuid = program: {"${program}" = {
source = "${virtualbox}/libexec/virtualbox/${program}";
owner = "root";
group = "vboxusers";
setuid = true;
};
};};
in mkIf cfg.enableHardening (map mkSuid [
"VBoxHeadless"
"VBoxNetAdpCtl"