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
+4 -1

No files matched your search

-1
View File
@@ -44,7 +44,6 @@
specialArgs = { inherit inputs; };
modules = [
./hosts/pinwheel/configuration.nix
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen
inputs.home-manager.nixosModules.home-manager
./hosts/pinwheel/home.nix
+4
View File
@@ -1,5 +1,8 @@
{ inputs, pkgs, ... }:
{
imports = [ inputs.agenix.nixosModules.default ];
config = {
age = {
identityPaths = [
"/etc/ssh/pinwheel"
@@ -10,4 +13,5 @@
environment.systemPackages = [
inputs.agenix.packages."${pkgs.system}".default
];
};
}