[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,24 +232,25 @@ in {
}; };
}; };
subdomains."goog" = subdomains."goog" = let
let mkWifiHosts = builtins.mapAttrs (_: num: "192.168.86.${toString num}"); mkWifiHosts = builtins.mapAttrs
in { (_: num: { ipv4-address = "192.168.86.${toString num}"; });
hosts = mkWifiHosts { in {
wormhole0 = 2; hosts = mkWifiHosts {
switch = 51; wormhole0 = 2;
jayjay = 52; switch = 51;
nest-thermostat = 53; jayjay = 52;
bedroom-home = 30; nest-thermostat = 53;
living-room-tv = 54; bedroom-home = 30;
living-room-home = 31; living-room-tv = 54;
family-room-home = 32; living-room-home = 31;
kitchen-display = 33; family-room-home = 32;
tesla-model-3 = 55; kitchen-display = 33;
peter-pixel-5 = 43; tesla-model-3 = 55;
xiaoxuan-ipad-2 = 42; peter-pixel-5 = 43;
family-room-tv = 57; xiaoxuan-ipad-2 = 42;
xiaoxuan-ipad-1 = 44; family-room-tv = 57;
}; xiaoxuan-ipad-1 = 44;
}; };
};
} }