{ 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