-
Notifications
You must be signed in to change notification settings - Fork 117
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
Usage with age plugins #237
Comments
I’m pretty sure you should be able to wrap age and overwrite ageBin so that it always has the plugin in PATH. That could potentially work, at least as a workaround until there’s first party support for that in agenix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm able to use
agenix
(the CLI) withage
orrage
using theage-plugin-yubikey
, but when usingagenix
as NixOS module and referencing secrets,agenix
is not able to invoke theage
orrage
commands and have them detect the installed plugin.When running
sudo nixos-rebuild
,age
doesn't want to invoke theage-plugin-yubikey
. Or usingrage
, it can't find the plugin at all.Both
age
andrage
are able to detect and use the plugin when I use them directly or when I use theagenix
CLI. I've tried installing them with both environment.systemPackage and home-manage home-packages. I think this is something to do with the nixos-rebuild environment's view of the PATH, like it just can't see plugins in general. Is there a way to tell this module about these plugins that I'm missing?Related: #115
The text was updated successfully, but these errors were encountered: