mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
nix-darwin: fix launchd decrypt scripts
This commit is contained in:
parent
bcb8b65aa5
commit
24d89184ad
2 changed files with 2 additions and 2 deletions
|
|
@ -384,7 +384,7 @@ in
|
|||
};
|
||||
|
||||
launchd.daemons.sops-install-secrets = {
|
||||
command = installScript;
|
||||
command = "sh -c ${lib.escapeShellArg installScript}";
|
||||
serviceConfig = {
|
||||
RunAtLoad = true;
|
||||
KeepAlive = false;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue