diff options
author | Artturin <Artturin@artturin.com> | 2023-06-22 17:28:44 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-06-22 17:28:44 +0300 |
commit | ed55524562e14131250b8362f47ccfe2d6e5a328 (patch) | |
tree | 0d89ff8b003847e126572105e6fc99fd31247c47 /nixos | |
parent | d84d9648d33d0956012c19daab9dadf04b7d7b93 (diff) |
nixos/malloc: add back maybe unnecessary line
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/malloc.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/config/malloc.nix b/nixos/modules/config/malloc.nix index 043f78c8214e7..3d70e091983b6 100644 --- a/nixos/modules/config/malloc.nix +++ b/nixos/modules/config/malloc.nix @@ -97,6 +97,7 @@ in }; config = mkIf (cfg.provider != "libc") { + boot.kernel.sysctl."vm.max_map_count" = mkIf (cfg.provider == "graphene-hardened") (mkDefault 1048576); # TODO: Default vm.max_map_count has been increased system-wide environment.etc."ld-nix.so.preload".text = '' ${providerLibPath} ''; |