mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
nix-daemon: use command option
This commit is contained in:
parent
c24aa048c7
commit
199808713e
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,7 @@ in
|
|||
'';
|
||||
|
||||
launchd.daemons.nix-daemon = {
|
||||
serviceConfig.ProgramArguments = [ "/bin/sh" "-c" "exec ${config.nix.package}/bin/nix-daemon" ];
|
||||
command = "${config.nix.package}/bin/nix-daemon";
|
||||
serviceConfig.KeepAlive = true;
|
||||
serviceConfig.ProcessType = "Background";
|
||||
serviceConfig.LowPriorityIO = config.nix.daemonIONice;
|
||||
|
@ -50,5 +50,6 @@ in
|
|||
// { SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; }
|
||||
// { TMPDIR = "${cfg.tempDir}"; };
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue