fix: must include identityPaths in both nixos and home manager modules for agenix
This commit is contained in:
parent
d03f1ca906
commit
95f9e00bb1
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
system,
|
system,
|
||||||
|
userName,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -11,6 +12,7 @@ in
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.${feature}.enable {
|
config = lib.mkIf config.${feature}.enable {
|
||||||
environment.systemPackages = [ inputs.agenix.packages.${system}.default ];
|
environment.systemPackages = [ inputs.agenix.packages.${system}.default ];
|
||||||
|
age.identityPaths = [ "/home/${userName}/.ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ inputs.agenix.nixosModules.default ];
|
imports = [ inputs.agenix.nixosModules.default ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue