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
b6672c25e6
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue