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

Use agenix in home-manager profiles #410

Closed
Sohalt opened this issue Jan 3, 2022 · 3 comments
Closed

Use agenix in home-manager profiles #410

Sohalt opened this issue Jan 3, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Sohalt
Copy link
Contributor

Sohalt commented Jan 3, 2022

Is it possible to use agenix secrets inside home-manager profiles?
As far as I can tell the home-manager profiles do not have access to the agenix module.

It would be very convenient to be able to access nixos options from home-manager profiles in general (though that would probably affect portability a littile).

@Sohalt Sohalt added the enhancement New feature or request label Jan 3, 2022
@Pacman99
Copy link
Member

Pacman99 commented Jan 3, 2022

Theres the agenix thread on this, ryantm/agenix#50, and the project that implements home-manager agenix integration: https://github.com/jordanisaacs/homeage.

I wasn't planning to add homeage by default to devos, since its a separate flake, I figure anyone who needs it can just add the module themselves with externalModules.

If anything like ryantm/agenix#58 gets merged to agenix, we could include a hm agenix module by default.

@Sohalt
Copy link
Contributor Author

Sohalt commented Jan 3, 2022 via email

@Pacman99
Copy link
Member

Pacman99 commented Apr 1, 2022

not much we can do in digga, users can import the homeage module in their flake and use that. If agenix itself adds a home-manager module then we could import that by default for home-manager profiles.

@Pacman99 Pacman99 closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants