mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/lib/vargen: add Elgato Key Light
This commit is contained in:
parent
73d7921b2a
commit
802b2a7884
2 changed files with 18 additions and 1 deletions
|
@ -32,6 +32,7 @@ func main() {
|
|||
}
|
||||
|
||||
lan0 = newSubnet("lan0", 10)
|
||||
iot0 = newSubnet("iot0", 66)
|
||||
tengb0 = newSubnet("tengb0", 100)
|
||||
)
|
||||
|
||||
|
@ -83,6 +84,12 @@ func main() {
|
|||
ip("192.168.1.5"),
|
||||
mac("74:83:c2:7a:c6:15"),
|
||||
),
|
||||
newHost(
|
||||
"keylight",
|
||||
iot0,
|
||||
ip("192.168.66.10"),
|
||||
mac("3c:6a:9d:12:c4:dc"),
|
||||
),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -91,7 +98,7 @@ func main() {
|
|||
out.addInterface("enp2s0", enp2s0)
|
||||
out.addInterface("lan0", lan0)
|
||||
out.addInterface("guest0", newSubnet("guest0", 9))
|
||||
out.addInterface("iot0", newSubnet("iot0", 66))
|
||||
out.addInterface("iot0", iot0)
|
||||
out.addInterface("lab0", newSubnet("lab0", 2))
|
||||
out.addInterface("tengb0", tengb0)
|
||||
out.addInterface("wg0", newSubnet("wg0", 20))
|
||||
|
|
|
@ -72,6 +72,16 @@
|
|||
"lla": "fe80::7683:c2ff:fe7a:c615"
|
||||
},
|
||||
"mac": "74:83:c2:7a:c6:15"
|
||||
},
|
||||
{
|
||||
"name": "keylight",
|
||||
"ipv4": "192.168.66.10",
|
||||
"ipv6": {
|
||||
"gua": "2600:6c4a:7880:3266:3e6a:9dff:fe12:c4dc",
|
||||
"ula": "fd9e:1a04:f01d:66:3e6a:9dff:fe12:c4dc",
|
||||
"lla": "fe80::3e6a:9dff:fe12:c4dc"
|
||||
},
|
||||
"mac": "3c:6a:9d:12:c4:dc"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue