From ad86b545d767e419762e277b14028e7a5fa95496 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 30 Mar 2022 09:46:21 -0700 Subject: [PATCH] [sea] Oops, host definitions are modules. --- zones/sea.fudo.org.nix | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/zones/sea.fudo.org.nix b/zones/sea.fudo.org.nix index 2c1e52f..6d10a49 100644 --- a/zones/sea.fudo.org.nix +++ b/zones/sea.fudo.org.nix @@ -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; }; + }; }