networking.networkmanager.dispatcherScripts.*.type
NixOS option
Dispatcher hook type. Look up the hooks described at https://developer.gnome.org/NetworkManager/stable/NetworkManager.html and choose the type depending on the output folder. You should then filter the event type (e.g., “up”/“down”) from within your script.
type: one of "basic", "pre-down", "pre-up"Default
declared in: nixos/modules/services/networking/networkmanager.nixView source on NixOS/nixpkgs →"basic"