1
0
Fork 0
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:
Daiderd Jordan 2017-01-25 21:22:40 +01:00
parent c24aa048c7
commit 199808713e
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

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