mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/hardened: scudo default allocator. zero by default allow override.
This commit is contained in:
parent
00ac71ab19
commit
759968a612
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ with lib;
|
|||
|
||||
nix.allowedUsers = mkDefault [ "@users" ];
|
||||
|
||||
environment.memoryAllocator.provider = mkDefault "scudo";
|
||||
environment.variables.SCUDO_OPTIONS = mkDefault "ZeroContents=1";
|
||||
|
||||
security.hideProcessInformation = mkDefault true;
|
||||
|
||||
security.lockKernelModules = mkDefault true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue