mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
nix-daemon: switch process type to interactive
Using interactive seems to have a significant impact on build times, hopefully this doesn't impact other UI programs to much while building packages.
This commit is contained in:
parent
7f7d4bfebd
commit
d684bbf202
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ in
|
|||
launchd.daemons.nix-daemon = {
|
||||
command = "${config.nix.package}/bin/nix-daemon";
|
||||
serviceConfig.KeepAlive = true;
|
||||
serviceConfig.ProcessType = "Background";
|
||||
serviceConfig.ProcessType = "Interactive";
|
||||
serviceConfig.LowPriorityIO = config.nix.daemonIONice;
|
||||
serviceConfig.Nice = config.nix.daemonNiceLevel;
|
||||
serviceConfig.SoftResourceLimits.NumberOfFiles = 4096;
|
||||
|
|
Loading…
Reference in a new issue