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

Non-deterministic /run/agenix/secret generation #213

Open
supermarin opened this issue Oct 17, 2023 · 0 comments
Open

Non-deterministic /run/agenix/secret generation #213

supermarin opened this issue Oct 17, 2023 · 0 comments

Comments

@supermarin
Copy link

I'm trying to include nix-access-tokens in a file and source it in nix.conf with include.
Ran into a couple of problems, the first one:

If /run/agenix/secret1 already exists, setting age.secrets.secret1.[group|owner|mode|symlink] doesn't change owner, permissions, etc. rm -rf-ing /run/agenix doesn't help much either. I had to completely remove all references to age.secrets.secret1 in configuration.nix, run nixos-rebuild and re-run it with the secret reference back in to regenerate /run/agenix/secret1.

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

No branches or pull requests

1 participant