22 lines
705 B
Nix
Raw Normal View History

{ lib, specialArgs, system, inputs, agenix, home-manager, ... }:
let
user = specialArgs.user;
2024-12-21 14:31:57 -08:00
hostname = specialArgs.hostname;
in {
2024-10-16 11:36:22 -07:00
inherit system;
2024-12-21 14:31:57 -08:00
specialArgs = { inherit user hostname inputs home-manager; };
2024-10-16 11:36:22 -07:00
modules = [
../default # shared by all configs
../default/physical/configuration.nix # shared by physical machines
./configuration.nix # kestrel specific
./hardware.nix
../../modules
agenix.nixosModules.default
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
}
];
}