mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #940 from qowoz/nix-daemon
nix-daemon: increase SoftResourceLimits.NumberOfFiles
This commit is contained in:
commit
230a197063
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