Unverified Commit 1b56469c authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #239206 from Artturin/something2

parents d84d9648 ed555245
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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}
    '';