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:
parent
d014ed2445
commit
c24aa048c7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue