From 1bb4cfb1da1798b45eefe9dc4d55110a30868d04 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Thu, 14 Sep 2023 15:55:13 -0400 Subject: [PATCH] nixos/lib/vargen: hass VM Signed-off-by: Matt Layher --- nixos/lib/vargen/main.go | 5 +++++ nixos/lib/vars.json | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/nixos/lib/vargen/main.go b/nixos/lib/vargen/main.go index 62ad83c..821b552 100644 --- a/nixos/lib/vargen/main.go +++ b/nixos/lib/vargen/main.go @@ -156,6 +156,11 @@ func main() { netip.MustParseAddr("192.168.1.11"), mac("00:0c:15:05:1e:e6"), ), + mgmt0.newHost( + "hass", + netip.MustParseAddr("192.168.1.12"), + mac("52:54:00:22:db:4d"), + ), iot0.newHost( "keylight", netip.MustParseAddr("192.168.66.10"), diff --git a/nixos/lib/vars.json b/nixos/lib/vars.json index 728011f..11b7849 100644 --- a/nixos/lib/vars.json +++ b/nixos/lib/vars.json @@ -117,6 +117,16 @@ }, "mac": "00:0c:15:05:1e:e6" }, + { + "name": "hass", + "ipv4": "192.168.1.12", + "ipv6": { + "gua": "2600:6c4a:787f:5e00:5054:ff:fe22:db4d", + "ula": "fd9e:1a04:f01d:0:5054:ff:fe22:db4d", + "lla": "fe80::5054:ff:fe22:db4d" + }, + "mac": "52:54:00:22:db:4d" + }, { "name": "keylight", "ipv4": "192.168.66.10", @@ -370,6 +380,16 @@ "lla": "fe80::20c:15ff:fe05:1ee6" }, "mac": "00:0c:15:05:1e:e6" + }, + { + "name": "hass", + "ipv4": "192.168.1.12", + "ipv6": { + "gua": "2600:6c4a:787f:5e00:5054:ff:fe22:db4d", + "ula": "fd9e:1a04:f01d:0:5054:ff:fe22:db4d", + "lla": "fe80::5054:ff:fe22:db4d" + }, + "mac": "52:54:00:22:db:4d" } ] },