mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
nix-daemon: increase SoftResourceLimits.NumberOfFiles
1048576 matches the nixos/nix plist
e3a4e40a35/misc/launchd/org.nixos.nix-daemon.plist.in (L29)
This commit is contained in:
parent
9e7c20ffd0
commit
ec06ea8837
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ in
|
|||
serviceConfig.ProcessType = config.nix.daemonProcessType;
|
||||
serviceConfig.LowPriorityIO = config.nix.daemonIOLowPriority;
|
||||
serviceConfig.Label = "org.nixos.nix-daemon"; # must match daemon installed by Nix regardless of the launchd label Prefix
|
||||
serviceConfig.SoftResourceLimits.NumberOfFiles = mkDefault 4096;
|
||||
serviceConfig.SoftResourceLimits.NumberOfFiles = mkDefault 1048576;
|
||||
serviceConfig.StandardErrorPath = cfg.logFile;
|
||||
|
||||
serviceConfig.KeepAlive = mkIf (!cfg.enableSocketListener) true;
|
||||
|
|
Loading…
Reference in a new issue