1
0
Fork 0
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:
Daiderd Jordan 2017-05-16 00:33:12 +02:00
parent 7f7d4bfebd
commit d684bbf202
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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;