MyNixOS website logo
option

networking.wireguard.interfaces.<name>.preShutdown

Commands called before shutting down the interface.

Declarations
Type
strings concatenated with "\n" or (list of string) convertible to it
Default
""
Example
"${pkgs.iproute2}/bin/ip netns del foo"