yaxitech/ragenix

Change decryption directory: `/run/agenix` -> `/run/ragenix`?

StrictlyMonad opened this issue · 2 comments

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?

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).

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. :)