@@ -14,12 +14,17 @@ with lib;
1414
1515 nix.allowedUsers = mkDefault [ "@users" ];
1616
17+ environment.memoryAllocator.provider = mkDefault "scudo";
18+ environment.variables.SCUDO_OPTIONS = mkDefault "ZeroContents=1";
19+
1720 security.hideProcessInformation = mkDefault true;
1821
1922 security.lockKernelModules = mkDefault true;
2023
2124 security.allowUserNamespaces = mkDefault false;
2225
26+ nix.useSandbox = mkDefault false;
27+
2328 security.protectKernelImage = mkDefault true;
2429
2530 security.allowSimultaneousMultithreading = mkDefault false;