networking.networkmanager.dispatcherScripts
A list of scripts which will be executed in response to network events.
- Type
list of (submodule)- Default
[ ]- Example
[ { source = pkgs.writeText "upHook" '' if [ "$2" != "up" ]; then logger "exit: event $2 != up" exit fi # coreutils and iproute are in PATH too logger "Device $DEVICE_IFACE coming up" ''; type = "basic"; } ]- Declared
- <nixpkgs/nixos/modules/services/networking/networkmanager.nix>