1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
mdlayher-homelab/nixos/lib/vars.json
Matt Layher d4a2f6a53f
nixos/lib/vargen: new switch, printer using Ethernet
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-06-01 17:24:43 -04:00

298 lines
6.8 KiB
JSON

{
"server_ipv4": "192.168.1.6",
"server_ipv6": "2600:6c4a:787f:5900:1e1b:dff:feea:830f",
"desktop_ipv6": "2600:6c4a:787f:5900:6d9:f5ff:fe7e:1c47",
"hosts": {
"servers": [
{
"name": "servnerr-3",
"ipv4": "192.168.1.6",
"ipv6": {
"gua": "2600:6c4a:787f:5900:1e1b:dff:feea:830f",
"ula": "fd9e:1a04:f01d:0:1e1b:dff:feea:830f",
"lla": "fe80::1e1b:dff:feea:830f"
},
"mac": "1c:1b:0d:ea:83:0f"
},
{
"name": "nerr-3",
"ipv4": "192.168.1.7",
"ipv6": {
"gua": "2600:6c4a:787f:5900:6d9:f5ff:fe7e:1c47",
"ula": "fd9e:1a04:f01d:0:6d9:f5ff:fe7e:1c47",
"lla": "fe80::6d9:f5ff:fe7e:1c47"
},
"mac": "04:d9:f5:7e:1c:47"
},
{
"name": "theatnerr-1",
"ipv4": "192.168.10.10",
"ipv6": {
"gua": "2600:6c4a:787f:590a:96de:80ff:fe6c:eef",
"ula": "fd9e:1a04:f01d:10:96de:80ff:fe6c:eef",
"lla": "fe80::96de:80ff:fe6c:eef"
},
"mac": "94:de:80:6c:0e:ef"
},
{
"name": "monitnerr-1",
"ipv4": "192.168.10.11",
"ipv6": {
"gua": "2600:6c4a:787f:590a:dea6:32ff:fe1e:6694",
"ula": "fd9e:1a04:f01d:10:dea6:32ff:fe1e:6694",
"lla": "fe80::dea6:32ff:fe1e:6694"
},
"mac": "dc:a6:32:1e:66:94"
},
{
"name": "monitnerr-2",
"ipv4": "192.168.10.12",
"ipv6": {
"gua": "2600:6c4a:787f:590a:dea6:32ff:fe7e:b6fe",
"ula": "fd9e:1a04:f01d:10:dea6:32ff:fe7e:b6fe",
"lla": "fe80::dea6:32ff:fe7e:b6fe"
},
"mac": "dc:a6:32:7e:b6:fe"
}
],
"infra": [
{
"name": "switch-livingroom01",
"ipv4": "192.168.1.2",
"ipv6": {
"gua": "2600:6c4a:787f:5900:f29f:c2ff:fe0b:28ca",
"ula": "fd9e:1a04:f01d:0:f29f:c2ff:fe0b:28ca",
"lla": "fe80::f29f:c2ff:fe0b:28ca"
},
"mac": "f0:9f:c2:0b:28:ca"
},
{
"name": "switch-office01",
"ipv4": "192.168.1.3",
"ipv6": {
"gua": "2600:6c4a:787f:5900:f29f:c2ff:fece:7ee1",
"ula": "fd9e:1a04:f01d:0:f29f:c2ff:fece:7ee1",
"lla": "fe80::f29f:c2ff:fece:7ee1"
},
"mac": "f0:9f:c2:ce:7e:e1"
},
{
"name": "switch-office02",
"ipv4": "192.168.1.4",
"ipv6": {
"gua": "2600:6c4a:787f:5900:76ac:b9ff:fee2:4ea5",
"ula": "fd9e:1a04:f01d:0:76ac:b9ff:fee2:4ea5",
"lla": "fe80::76ac:b9ff:fee2:4ea5"
},
"mac": "74:ac:b9:e2:4e:a5"
},
{
"name": "ap-livingroom02",
"ipv4": "192.168.1.5",
"ipv6": {
"gua": "2600:6c4a:787f:5900:7683:c2ff:fe7a:c615",
"ula": "fd9e:1a04:f01d:0:7683:c2ff:fe7a:c615",
"lla": "fe80::7683:c2ff:fe7a:c615"
},
"mac": "74:83:c2:7a:c6:15"
},
{
"name": "keylight",
"ipv4": "192.168.66.10",
"ipv6": {
"gua": "2600:6c4a:787f:5942: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"
},
{
"name": "bedroom-fan.iot",
"ipv4": "192.168.66.11",
"ipv6": {
"gua": "2600:6c4a:787f:5942:c2c9:e3ff:fee0:8b44",
"ula": "fd9e:1a04:f01d:66:c2c9:e3ff:fee0:8b44",
"lla": "fe80::c2c9:e3ff:fee0:8b44"
},
"mac": "c0:c9:e3:e0:8b:44"
},
{
"name": "bedroom-air-purifier.iot",
"ipv4": "192.168.66.12",
"ipv6": {
"gua": "2600:6c4a:787f:5942:c2c9:e3ff:fee0:a65c",
"ula": "fd9e:1a04:f01d:66:c2c9:e3ff:fee0:a65c",
"lla": "fe80::c2c9:e3ff:fee0:a65c"
},
"mac": "c0:c9:e3:e0:a6:5c"
},
{
"name": "living-room-receiver.iot",
"ipv4": "192.168.66.13",
"ipv6": {
"gua": "2600:6c4a:787f:5942:206:78ff:fe55:b318",
"ula": "fd9e:1a04:f01d:66:206:78ff:fe55:b318",
"lla": "fe80::206:78ff:fe55:b318"
},
"mac": "00:06:78:55:b3:18"
},
{
"name": "living-room-hue-hub.iot",
"ipv4": "192.168.66.14",
"ipv6": {
"gua": "2600:6c4a:787f:5942:eeb5:faff:fe1d:4fc2",
"ula": "fd9e:1a04:f01d:66:eeb5:faff:fe1d:4fc2",
"lla": "fe80::eeb5:faff:fe1d:4fc2"
},
"mac": "ec:b5:fa:1d:4f:c2"
},
{
"name": "office-printer.iot",
"ipv4": "192.168.66.16",
"ipv6": {
"gua": "2600:6c4a:787f:5942:3205:5cff:fe90:47be",
"ula": "fd9e:1a04:f01d:66:3205:5cff:fe90:47be",
"lla": "fe80::3205:5cff:fe90:47be"
},
"mac": "30:05:5c:90:47:be"
}
]
},
"interfaces": {
"enp2s0": {
"name": "enp2s0",
"preference": "medium",
"internal_dns": true,
"ipv4": "192.168.1.1",
"ipv6": {
"gua": "2600:6c4a:787f:5900::1",
"ula": "fd9e:1a04:f01d::1",
"lla": "fe80::1"
}
},
"guest0": {
"name": "guest0",
"preference": "medium",
"internal_dns": false,
"ipv4": "192.168.9.1",
"ipv6": {
"gua": "2600:6c4a:787f:5909::1",
"ula": "fd9e:1a04:f01d:9::1",
"lla": "fe80::1"
}
},
"iot0": {
"name": "iot0",
"preference": "medium",
"internal_dns": false,
"ipv4": "192.168.66.1",
"ipv6": {
"gua": "2600:6c4a:787f:5942::1",
"ula": "fd9e:1a04:f01d:66::1",
"lla": "fe80::1"
}
},
"lab0": {
"name": "lab0",
"preference": "medium",
"internal_dns": false,
"ipv4": "192.168.2.1",
"ipv6": {
"gua": "2600:6c4a:787f:5902::1",
"ula": "fd9e:1a04:f01d:2::1",
"lla": "fe80::1"
}
},
"lan0": {
"name": "lan0",
"preference": "medium",
"internal_dns": true,
"ipv4": "192.168.10.1",
"ipv6": {
"gua": "2600:6c4a:787f:590a::1",
"ula": "fd9e:1a04:f01d:10::1",
"lla": "fe80::1"
}
},
"tengb0": {
"name": "tengb0",
"preference": "high",
"internal_dns": true,
"ipv4": "192.168.110.1",
"ipv6": {
"gua": "2600:6c4a:787f:596e::1",
"ula": "fd9e:1a04:f01d:110::1",
"lla": "fe80::1"
}
},
"wan0": {
"name": "enp1s0",
"preference": "medium",
"internal_dns": false,
"ipv4": "24.247.144.69",
"ipv6": {
"gua": "",
"ula": "",
"lla": ""
}
},
"wg0": {
"name": "wg0",
"preference": "medium",
"internal_dns": true,
"ipv4": "192.168.20.1",
"ipv6": {
"gua": "2600:6c4a:787f:5914::1",
"ula": "fd9e:1a04:f01d:20::1",
"lla": "fe80::1"
}
},
"wwan0": {
"name": "wwp0s19u1u3i12",
"preference": "medium",
"internal_dns": false,
"ipv4": "",
"ipv6": {
"gua": "",
"ula": "",
"lla": ""
}
}
},
"wireguard": {
"name": "wg0",
"subnet": {
"name": "wg0",
"preference": "medium",
"trusted": true,
"ipv4": "192.168.20.0/24",
"ipv6": {
"gua": "2600:6c4a:787f:5914::/64",
"ula": "fd9e:1a04:f01d:20::/64",
"lla": "fe80::/64"
}
},
"peers": [
{
"name": "mdlayher-fastly",
"public_key": "VWRsPtbdGtcNyaQ+cFAZfZnYL05uj+XINQS6yQY5gQ8=",
"allowed_ips": [
"192.168.20.10/32",
"2600:6c4a:787f:5914::a/128",
"fd9e:1a04:f01d:20::a/128",
"fe80::a/128"
]
},
{
"name": "nerr-3",
"public_key": "UvwWyMQ1ckLEG82Qdooyr0UzJhqOlzzcx90DXuwMTDA=",
"allowed_ips": [
"192.168.20.11/32",
"2600:6c4a:787f:5914::b/128",
"fd9e:1a04:f01d:20::b/128",
"fe80::b/128"
]
}
]
}
}