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

@@ -44,7 +44,6 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/pinwheel/configuration.nix ./hosts/pinwheel/configuration.nix
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
./hosts/pinwheel/home.nix ./hosts/pinwheel/home.nix

View File

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