summaryrefslogtreecommitdiffstats
path: root/hosts/poweredge/router-hosts.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-10-30 19:16:25 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-10-30 19:16:25 -0500
commit4c2d824402c89639b6347fd7904fb296b060890e (patch)
treec12be90c4551fe46a0ae9a2f5f925b600e48acaa /hosts/poweredge/router-hosts.nix
parent23a01a90e6c6bc00bd4832a3959f6d8b5dc9ce11 (diff)
downloadnixos-4c2d824402c89639b6347fd7904fb296b060890e.tar.xz
nixos-4c2d824402c89639b6347fd7904fb296b060890e.zip
separate openvpn from transmission to its own vpn-router container
Diffstat (limited to 'hosts/poweredge/router-hosts.nix')
-rw-r--r--hosts/poweredge/router-hosts.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/poweredge/router-hosts.nix b/hosts/poweredge/router-hosts.nix
index b53b2a1..4e14c01 100644
--- a/hosts/poweredge/router-hosts.nix
+++ b/hosts/poweredge/router-hosts.nix
@@ -4,7 +4,7 @@ let
inherit staticLeases;
defaultGateway = "192.168.1.1";
localhostIp = "192.168.1.1";
- rangeStart = "192.168.1.50";
+ rangeStart = "192.168.1.65";
rangeEnd = "192.168.1.250";
};
staticLeases = {
@@ -13,8 +13,8 @@ let
OpenWrt-Attic = { macAddress = "34:98:b5:60:5e:be"; staticIp = "192.168.1.3"; };
OpenWrt-Basement = { macAddress = "8c:3b:ad:35:c7:8c"; staticIp = "192.168.1.4"; };
ArcherC54 = { macAddress = "14:eb:b6:13:f9:e0"; staticIp = "192.168.1.5"; };
+ vpn-router = { macAddress = "02:00:00:00:01:09"; staticIp = "192.168.1.9"; };
# Desktops
- T495 = { macAddress = "04:33:c2:9d:34:74"; staticIp = "192.168.1.11"; };
optiplex = { macAddress = "e4:54:e8:bc:ba:05"; staticIp = "192.168.1.12"; };
X230 = { macAddress = "84:3a:4b:60:34:c4"; staticIp = "192.168.1.13"; };
# Appliances
@@ -28,14 +28,16 @@ let
bitcoind = { macAddress = "02:00:00:00:00:04"; staticIp = "192.168.1.44"; };
filebrowser = { macAddress = "02:00:00:00:00:05"; staticIp = "192.168.1.45"; };
grafana = { macAddress = "02:00:00:00:00:06"; staticIp = "192.168.1.46"; };
- transmission = { macAddress = "02:00:00:00:00:07"; staticIp = "192.168.1.47"; };
+ transmission = { macAddress = "02:00:00:00:01:47"; staticIp = "192.168.1.47"; };
+ navidrome = { macAddress = "02:00:00:00:00:08"; staticIp = "192.168.1.48"; };
+ slskd = { macAddress = "02:00:00:00:01:51"; staticIp = "192.168.1.51"; };
};
localDomainOverrides = {
"router.${localDomain}" = "192.168.1.1"; # FIXME ping router on separate host returns 127.0.0.2
"poweredge.${localDomain}" = "192.168.1.10";
};
in {
- imports = [ ../poweredge-pro/dns-overrides.nix ];
+ imports = [ ../poweredge-pro/dns-overrides.nix ]; # Import dns overrides from poweredge pro for use with tun
services._router.dnsDhcpConfig = {
inherit dhcp;
localResolution = {