Revert "nixos/hardened: build sandbox incompatible with namespaces"

As discussed in https://github.com/NixOS/nixpkgs/pull/73763, prevailing
consensus is to revert that commit. People use the hardened profile on
machines and run nix builds, and there's no good reason to use
unsandboxed builds at all unless you're in a platform that doesn't
support them.

This reverts commit 00ac71ab19.
This commit is contained in:
Florian Klink 2020-04-05 17:36:20 +02:00
parent 0454fae7ca
commit a8989b353a

View File

@ -23,8 +23,6 @@ with lib;
security.allowUserNamespaces = mkDefault false;
nix.useSandbox = mkDefault false;
security.protectKernelImage = mkDefault true;
security.allowSimultaneousMultithreading = mkDefault false;