pinwheel: Move agenix input to agenix module imports

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

No files matched your search

+12 -8
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
];
}