MyNixOS website logo
option

networking.wg-quick.interfaces.<name>.preDown

Command called before the interface is taken down.

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