1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
{ mkHost, hosts, inputs }: let inherit (inputs) nixpkgs; inherit (nixpkgs.lib.attrsets) mergeAttrsList; in mergeAttrsList ((map (h: mkHost "x86_64-linux" h [ ./common.nix ]) [ "acheron" "asphodel" "cocytus" "elysium" "lethe" "makaron" "oneiron" "tartarus" ]) ++ (map (h: mkHost "x86_64-linux" h [ ./common.nix ./${h}.nix ]) [ "styx" ]))