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; };
modules = [
./hosts/sombrero/configuration.nix
inputs.agenix.nixosModules.default
inputs.home-manager.nixosModules.home-manager
./hosts/sombrero/home.nix
];

View File

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