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