Merge pull request #239206 from Artturin/something2

This commit is contained in:
Artturi 2023-06-22 17:30:38 +03:00 committed by GitHub
commit 1b56469c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}
'';