1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 16:27:03 +00:00

activate-system: use command option

This commit is contained in:
Daiderd Jordan 2017-01-25 21:20:00 +01:00
parent d014ed2445
commit c24aa048c7
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -43,9 +43,9 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
launchd.daemons.activate-system = { launchd.daemons.activate-system = {
serviceConfig.ProgramArguments = [ "/bin/sh" "-c" "exec ${activateScript}" ]; command = activateScript;
serviceConfig.KeepAlive.SuccessfulExit = false;
serviceConfig.RunAtLoad = true; serviceConfig.RunAtLoad = true;
serviceConfig.KeepAlive.SuccessfulExit = false;
}; };
}; };