nixos/hardened: scudo default allocator. zero by default allow override.
commit759968a6126a9bf4962a3ddea4eaf6466baff122
authorKyle Copperfield <kmcopper@danwin1210.me>
dateTue 19 Nov 2019, 09:26 (7 years ago)
parent00ac71a
nixos/modules/profiles/hardened.nix+3
@@ -14,6 +14,9 @@ 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;