pinwheel: Move agenix input to agenix module imports

This commit is contained in:
Alexander Heldt
2023-11-29 15:15:16 +01:00
parent d45acc5838
commit 5bbc11df7c
2 changed files with 12 additions and 9 deletions

View File

@@ -1,13 +1,17 @@
{ inputs, pkgs, ... }:
{
age = {
identityPaths = [
"/etc/ssh/pinwheel"
"/home/alex/.ssh/alex.pinwheel"
imports = [ inputs.agenix.nixosModules.default ];
config = {
age = {
identityPaths = [
"/etc/ssh/pinwheel"
"/home/alex/.ssh/alex.pinwheel"
];
};
environment.systemPackages = [
inputs.agenix.packages."${pkgs.system}".default
];
};
environment.systemPackages = [
inputs.agenix.packages."${pkgs.system}".default
];
}