nix-darwin: fix launchd decrypt scripts

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

View file

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

View file

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