2024-12-18 11:34:20 +01:00
|
|
|
{
|
|
|
|
nixpkgs,
|
|
|
|
inputs,
|
|
|
|
}:
|
|
|
|
{
|
2024-12-19 00:02:50 +01:00
|
|
|
mkHost =
|
|
|
|
name: arch:
|
|
|
|
nixpkgs.lib.nixosSystem {
|
2024-12-18 11:34:20 +01:00
|
|
|
system = arch;
|
|
|
|
modules = [
|
2024-12-18 23:14:56 +01:00
|
|
|
./hosts/base.nix
|
2024-12-18 11:34:20 +01:00
|
|
|
./hosts/${name}.nix
|
|
|
|
./nixosModules
|
2024-12-19 00:02:50 +01:00
|
|
|
(
|
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
networking.hostName = name;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
)
|
2024-12-18 11:34:20 +01:00
|
|
|
];
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|