sombrero: Move agenix input to agenix module imports

This commit is contained in:
Alexander Heldt
2023-11-29 15:17:53 +01:00
parent 96abda64a0
commit 281858ee38
2 changed files with 10 additions and 7 deletions

View File

@@ -54,7 +54,6 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/sombrero/configuration.nix ./hosts/sombrero/configuration.nix
inputs.agenix.nixosModules.default
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
./hosts/sombrero/home.nix ./hosts/sombrero/home.nix
]; ];

View File

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