Skip to content

Commit

Permalink
nix-darwin: fix launchd decrypt scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jan 2, 2025
1 parent bcb8b65 commit 24d8918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/nix-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ in
};

launchd.daemons.sops-install-secrets = {
command = installScript;
command = "sh -c ${lib.escapeShellArg installScript}";
serviceConfig = {
RunAtLoad = true;
KeepAlive = false;
Expand Down
2 changes: 1 addition & 1 deletion modules/nix-darwin/secrets-for-users/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24d8918

Please sign in to comment.