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