22 lines
695 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-09-26 20:02:03 -07:00
inherit system;
specialArgs = { inherit user inputs home-manager; };
2024-09-26 20:02:03 -07:00
modules = [
../default # shared by all configs
../default/physical/configuration.nix # shared by physical machines
./configuration.nix # shivan specific
2024-09-26 20:02:03 -07:00
./hardware.nix
2024-09-26 20:15:20 -07:00
../../modules
2024-09-26 20:02:03 -07:00
agenix.nixosModules.default
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
}
];
2024-09-26 19:19:09 -07:00
}