101 lines
2.3 KiB
Nix
101 lines
2.3 KiB
Nix
{
|
|
sharedSpecialArgs,
|
|
mkMachineModuleList,
|
|
}: {
|
|
meta = {
|
|
name = "arda";
|
|
domain = "arda";
|
|
description = "My personal machines at home";
|
|
};
|
|
|
|
directory = ./.;
|
|
|
|
inventory.machines = {
|
|
aule = {
|
|
name = "aule";
|
|
description = "Planned build server.";
|
|
machineClass = "nixos";
|
|
tags = ["planned" "build"];
|
|
};
|
|
mandos = {
|
|
name = "mandos";
|
|
description = "Living room Steam box.";
|
|
machineClass = "nixos";
|
|
tags = ["gaming" "living-room"];
|
|
};
|
|
manwe = {
|
|
name = "manwe";
|
|
description = "Main desktop.";
|
|
machineClass = "nixos";
|
|
tags = ["desktop"];
|
|
};
|
|
melkor = {
|
|
name = "melkor";
|
|
description = "Planned machine with no defined role yet.";
|
|
machineClass = "nixos";
|
|
tags = [];
|
|
};
|
|
orome = {
|
|
name = "orome";
|
|
description = "Work laptop.";
|
|
machineClass = "nixos";
|
|
tags = ["laptop" "work"];
|
|
};
|
|
tulkas = {
|
|
name = "tulkas";
|
|
description = "Steam Deck.";
|
|
machineClass = "nixos";
|
|
tags = ["gaming" "handheld"];
|
|
};
|
|
ulmo = {
|
|
name = "ulmo";
|
|
description = "Primary self-hosted services machine.";
|
|
machineClass = "nixos";
|
|
tags = ["server" "services"];
|
|
};
|
|
varda = {
|
|
name = "varda";
|
|
description = "Planned machine with no defined role yet.";
|
|
machineClass = "nixos";
|
|
tags = [];
|
|
};
|
|
yavanna = {
|
|
name = "yavanna";
|
|
description = "Planned machine with no defined role yet.";
|
|
machineClass = "nixos";
|
|
tags = [];
|
|
};
|
|
};
|
|
|
|
machines = {
|
|
mandos = {
|
|
_module.args = sharedSpecialArgs;
|
|
imports = mkMachineModuleList "mandos";
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
};
|
|
|
|
manwe = {
|
|
_module.args = sharedSpecialArgs;
|
|
imports = mkMachineModuleList "manwe";
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
};
|
|
|
|
orome = {
|
|
_module.args = sharedSpecialArgs;
|
|
imports = mkMachineModuleList "orome";
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
};
|
|
|
|
tulkas = {
|
|
_module.args = sharedSpecialArgs;
|
|
imports = mkMachineModuleList "tulkas";
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
};
|
|
|
|
ulmo = {
|
|
_module.args = sharedSpecialArgs;
|
|
imports = mkMachineModuleList "ulmo";
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
};
|
|
};
|
|
}
|