forked from mirrors/nixpkgs
nixos/hardened: build sandbox incompatible with namespaces
Disables the build sandbox by default to avoid incompatibility with defaulting user namespaces to false. Ideally there would be some kind of linux kernel feature that allows us to trust nix-daemon builders to allow both nix sandbox builds and disabling untrusted naemspaces at the same time.
This commit is contained in:
parent
93e8c34e2e
commit
00ac71ab19
|
@ -20,6 +20,8 @@ with lib;
|
|||
|
||||
security.allowUserNamespaces = mkDefault false;
|
||||
|
||||
nix.useSandbox = mkDefault false;
|
||||
|
||||
security.protectKernelImage = mkDefault true;
|
||||
|
||||
security.allowSimultaneousMultithreading = mkDefault false;
|
||||
|
|
Loading…
Reference in a new issue