Without a module for home-manager, I am unable to fully replace sops-nix (or agenix) with secrix.
Would be nice if there was a flake output: homeManagerModules.secrix that defined options similar to secrix.system, but for individual users under a name like secrix.users.<name>.
Some implementation ideas beyond just renaming options & adapting their config implementations to home-manager:
- Option(s) to toggle fallback to using system secrets with the same name if missing for the user. (e.g. I normally use
nixos-rebuild
- Fallback for all secrets:
secrix.users.fooAdmin.enableSystemFallback = true
- Fallback for individual secrets:
secrix.users.fooAdmin.secrets.<name>.enableSystemFallback=true (or set value to a (list of) string(s) with secret name(s))
Without a module for home-manager, I am unable to fully replace
sops-nix(oragenix) withsecrix.Would be nice if there was a flake output:
homeManagerModules.secrixthat defined options similar tosecrix.system, but for individual users under a name likesecrix.users.<name>.Some implementation ideas beyond just renaming options & adapting their
configimplementations to home-manager:nixos-rebuildsecrix.users.fooAdmin.enableSystemFallback = truesecrix.users.fooAdmin.secrets.<name>.enableSystemFallback=true(or set value to a (list of) string(s) with secret name(s))