nixos/devices.toml

18 lines
712 B
TOML
Raw Normal View History

# 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.
# 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"