MyNixOS website logo
option

services.networkd-dispatcher.rules.<name>.onState

List of names of the systemd-networkd operational states which should trigger the script. See https://www.freedesktop.org/software/systemd/man/networkctl.html for a description of the specific state type.

Declarations
Type
list of (one of "routable", "dormant", "no-carrier", "off", "carrier", "degraded", "configuring", "configured")
Default
null