[sea] Oops, host definitions are modules.

This commit is contained in:
niten 2022-03-30 09:46:21 -07:00
parent 6d787dd8e1
commit ad86b545d7
1 changed files with 20 additions and 19 deletions

View File

@ -232,8 +232,9 @@ in {
};
};
subdomains."goog" =
let mkWifiHosts = builtins.mapAttrs (_: num: "192.168.86.${toString num}");
subdomains."goog" = let
mkWifiHosts = builtins.mapAttrs
(_: num: { ipv4-address = "192.168.86.${toString num}"; });
in {
hosts = mkWifiHosts {
wormhole0 = 2;