diff --git a/nixos-module.nix b/nixos-module.nix index 0fd3497..16c66db 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -213,7 +213,7 @@ in LockPersonality = true; MemoryDenyWriteExecute = true; LimitNOFile = limitNOFILE; - LimitRSS = "4G:6G"; + MemoryMax = "3G"; }; }; @@ -241,7 +241,7 @@ in LockPersonality = true; MemoryDenyWriteExecute = true; LimitNOFile = limitNOFILE; - LimitRSS = "4G:6G"; + MemoryMax = "2G"; }; }; @@ -270,7 +270,7 @@ in MemoryDenyWriteExecute = true; LimitNOFile = limitNOFILE; WorkingDirectory = "${pkgs.caveman-gatherer}/share/caveman/gatherer"; - LimitRSS = "512M:1G"; + MemoryMax = "1G"; }; };