sombrero: Move agenix input to agenix module imports
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
age = {
|
||||
identityPaths = [ "/etc/ssh/sombrero" ];
|
||||
};
|
||||
imports = [ inputs.agenix.nixosModules.default ];
|
||||
|
||||
environment.systemPackages = [
|
||||
inputs.agenix.packages."${pkgs.system}".default
|
||||
];
|
||||
config = {
|
||||
age = {
|
||||
identityPaths = [ "/etc/ssh/sombrero" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
inputs.agenix.packages."${pkgs.system}".default
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user