nix-darwin: fix launchd decrypt scripts

This commit is contained in:
Jörg Thalheim 2025-01-02 11:01:08 +01:00
parent bcb8b65aa5
commit b6672c25e6
2 changed files with 2 additions and 2 deletions

View file

@ -384,7 +384,7 @@ in
}; };
launchd.daemons.sops-install-secrets = { launchd.daemons.sops-install-secrets = {
command = installScript; command = "sh -c ${lib.escapeShellArg installScript}";
serviceConfig = { serviceConfig = {
RunAtLoad = true; RunAtLoad = true;
KeepAlive = false; KeepAlive = false;

View file

@ -42,7 +42,7 @@ in
}; };
launchd.daemons.sops-install-secrets-for-users = lib.mkIf (secretsForUsers != [ ]) { launchd.daemons.sops-install-secrets-for-users = lib.mkIf (secretsForUsers != [ ]) {
command = installScript; command = "sh -c ${lib.escapeShellArg installScript}";
serviceConfig = { serviceConfig = {
RunAtLoad = true; RunAtLoad = true;
KeepAlive = false; KeepAlive = false;