infra.networking
4 options
infra.networking.externalIp
LAN-side IPv4 address for vmbr0-only single-NIC hosts.
Auto-wired from the fleet’s ip field by nix/lib/default.nix
when internalIp is unset. Ignored unless singleInterface is
true and internalIp is empty.
Type: string
Default:
""
Example:
"198.51.100.20"
Declared by: nix/modules/infra/base/fleet-member.nix
infra.networking.internalGateway
Gateway for internal network. Only set on netgate.
Type: string
Default:
""
Example:
"192.0.2.1"
Declared by: nix/modules/infra/base/fleet-member.nix
infra.networking.internalIp
Static IP for the internal service network (vmbr1). Set automatically from hosts.json by nix/lib/default.nix.
Type: string
Default:
""
Example:
"192.0.2.104"
Declared by: nix/modules/infra/base/fleet-member.nix
infra.networking.singleInterface
When true, host has one NIC. Default placement is eth0 on vmbr1
with the static internalIp + internal gateway. If externalIp
is also set (and internalIp is empty), eth0 is placed on
vmbr0 with the static externalIp + LAN gateway instead
(vmbr0-only hosts, e.g. a public landing page).
Type: boolean
Default:
false
Declared by: nix/modules/infra/base/fleet-member.nix