MyNixOS website logo
option

networking.wireguard.interfaces.<name>.postShutdown

Commands called after shutting down the interface.

Declarations
Type
strings concatenated with "\n" or (list of string) convertible to it
Default
""
Example
"${pkgs.openresolv}/bin/resolvconf -d wg0"