fix: must include identityPaths in both nixos and home manager modules for agenix

This commit is contained in:
wi11-holdsworth 2025-09-29 19:36:11 +10:00
parent d03f1ca906
commit 95f9e00bb1

View file

@ -3,6 +3,7 @@
inputs,
lib,
system,
userName,
...
}:
let
@ -11,6 +12,7 @@ in
{
config = lib.mkIf config.${feature}.enable {
environment.systemPackages = [ inputs.agenix.packages.${system}.default ];
age.identityPaths = [ "/home/${userName}/.ssh/id_ed25519" ];
};
imports = [ inputs.agenix.nixosModules.default ];