1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib/vargen: wip

This commit is contained in:
Matt Layher 2022-12-15 21:49:00 -05:00
parent 983e1e4d48
commit a4ee25d7e1
2 changed files with 4 additions and 40 deletions

View file

@ -141,19 +141,23 @@ func main() {
netip.MustParseAddr("192.168.1.4"),
mac("74:ac:b9:e2:4e:a5"),
),
/*
mgmt0.newHost(
"ap-livingroom",
netip.MustParseAddr("192.168.1.5"),
mac("d0:4d:c6:c1:75:4c"),
),
*/
// server: 192.168.1.6
// desktop: 192.168.1.7
// monitor: 192.168.1.8
/*
mgmt0.newHost(
"ap-basement",
netip.MustParseAddr("192.168.1.9"),
mac("d0:4d:c6:c1:72:96"),
),
*/
iot0.newHost(
"keylight",
netip.MustParseAddr("192.168.66.10"),

View file

@ -96,26 +96,6 @@
},
"mac": "74:ac:b9:e2:4e:a5"
},
{
"name": "ap-livingroom",
"ipv4": "192.168.1.5",
"ipv6": {
"gua": "2600:6c4a:787f:1900:d24d:c6ff:fec1:754c",
"ula": "fd9e:1a04:f01d:0:d24d:c6ff:fec1:754c",
"lla": "fe80::d24d:c6ff:fec1:754c"
},
"mac": "d0:4d:c6:c1:75:4c"
},
{
"name": "ap-basement",
"ipv4": "192.168.1.9",
"ipv6": {
"gua": "2600:6c4a:787f:1900:d24d:c6ff:fec1:7296",
"ula": "fd9e:1a04:f01d:0:d24d:c6ff:fec1:7296",
"lla": "fe80::d24d:c6ff:fec1:7296"
},
"mac": "d0:4d:c6:c1:72:96"
},
{
"name": "keylight",
"ipv4": "192.168.66.10",
@ -370,26 +350,6 @@
"lla": "fe80::76ac:b9ff:fee2:4ea5"
},
"mac": "74:ac:b9:e2:4e:a5"
},
{
"name": "ap-livingroom",
"ipv4": "192.168.1.5",
"ipv6": {
"gua": "2600:6c4a:787f:1900:d24d:c6ff:fec1:754c",
"ula": "fd9e:1a04:f01d:0:d24d:c6ff:fec1:754c",
"lla": "fe80::d24d:c6ff:fec1:754c"
},
"mac": "d0:4d:c6:c1:75:4c"
},
{
"name": "ap-basement",
"ipv4": "192.168.1.9",
"ipv6": {
"gua": "2600:6c4a:787f:1900:d24d:c6ff:fec1:7296",
"ula": "fd9e:1a04:f01d:0:d24d:c6ff:fec1:7296",
"lla": "fe80::d24d:c6ff:fec1:7296"
},
"mac": "d0:4d:c6:c1:72:96"
}
]
},