nixos/devices.toml
rope 98bd60eb64 Gaming: sshd for the server, static 10.0.0.20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 08:27:26 +01:00

29 lines
1.4 KiB
TOML

# devices.toml — LAN device registry for the router (services/router.nix)
#
# Written by the router UI (router.nordhammer.it), safe to edit by hand.
# Fields:
# mac — device MAC, lowercase hex with colons (required)
# name — DHCP hostname / label (required)
# ip — static reservation. Omit for a normal pool lease.
# Must be OUTSIDE the DHCP pool 10.0.0.100-250.
# blocked — true drops all traffic from this MAC on the LAN interface.
# Omitted rather than written as false, which is what the UI does.
# isolated — true refuses to route anything for this MAC: no internet, no
# other LAN host. It can still reach services on the router
# itself (DHCP, DNS, and go2rtc pulling its feed all terminate
# here, so they never hit the forward chain). Stand-in for the
# camera VLAN this network can't build. Unlike `blocked`, the
# device keeps working for its one intended job.
# note — free text, shown in the UI only
[[device]]
mac = "f0:a7:31:6c:50:4b"
name = "camera-bedroom"
ip = "10.0.0.39"
note = "go2rtc / RTSP source. isolated=true was reverted: it also cut the vendor cloud tunnel the phone app needs from outside the house."
[[device]]
mac = "74:56:3c:42:9d:a3"
name = "FredOS-Gaming"
ip = "10.0.0.20"
note = "Fixed so the server can `ssh gaming` (hosts/FredOS-Gaming.nix)."