Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-darwin: fix launchd decrypt scripts #702

Merged
merged 1 commit into from
Jan 2, 2025
Merged

nix-darwin: fix launchd decrypt scripts #702

merged 1 commit into from
Jan 2, 2025

Conversation

Mic92
Copy link
Owner

@Mic92 Mic92 commented Jan 2, 2025

Untested, potentially fixes #700

please test: @Kidswiss @mettavi

@mettavi
Copy link

mettavi commented Jan 2, 2025

With this commit, org.nixos.sops-install-secrets (and sops-install-secrets-for-users) is now:

/bin/sh -c '/bin/wait4path /nix/store && exec sh -c \'
echo "Setting up secrets..."

And with the generateKeys option enabled and then rebooting, the secrets are successfully mounted at startup.

It fixed it, thank you @Mic92.

@Kidswiss
Copy link

Kidswiss commented Jan 2, 2025

Works for me too, thanks!

@Mic92 Mic92 merged commit 24d8918 into master Jan 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generateKey breaks launchd daemon
3 participants