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

Change decryption directory: /run/agenix -> /run/ragenix? #134

Open
StrictlyMonad opened this issue Apr 27, 2023 · 2 comments
Open

Change decryption directory: /run/agenix -> /run/ragenix? #134

StrictlyMonad opened this issue Apr 27, 2023 · 2 comments

Comments

@StrictlyMonad
Copy link

I am somewhat still puzzled by this, but why does ragenix decrypt its secrets to /run/agenix as opposed to /run/ragenix? Is there some secret behind this choice or just that no one has gotten to changing the decrption folder yet?

@StrictlyMonad StrictlyMonad changed the title Change decryption directory? Change decryption directory: /run/agenix -> /run/ragenix? Apr 27, 2023
@Trundle
Copy link
Member

Trundle commented Jun 28, 2023

ragenix is a drop-in replacement for agenix and it re-uses agenix's NixOS module. That's why the output directory defaults to /run/agenix.

If you want to change the directory, you can set the age.secretsDir option to a value of your choice (see https://github.com/ryantm/agenix#agesecretsdir).

@StrictlyMonad
Copy link
Author

I am aware of that much, but the reason to why I suggested this is because it would make more sense for it to be a little different. It's not a trivial change though. :)

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

2 participants