MyNixOS website logo
option

networking.wireguard.interfaces.<name>.preSetup

Commands called at the start of the interface setup.

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