blob: f2110eb9a210b4a3e353fb4bbe36ff34b582a164 (
plain) (
tree)
|
|
{
system,
pkgs,
nixpkgs_as_input,
# configs
defaultModules,
defaultSpecialArgs,
...
}: let
generateHost = name: {
name = "${name}";
value = nixpkgs_as_input.lib.nixosSystem {
inherit system pkgs;
specialArgs = defaultSpecialArgs;
modules =
[
../../hosts/${name}
]
++ defaultModules;
};
};
# FIXME: These need to stay in this position for the install script
hosts = ["tiamat" "apzu"];
inactiveHosts = ["mammun" "lahmu"];
generatedHosts = builtins.listToAttrs (builtins.map generateHost hosts);
in
generatedHosts
|