MyNixOS website logo
option

networking.wireguard.interfaces.<name>.postSetup

Commands called at the end of the interface setup.

Declarations
Type
strings concatenated with "\n" or (list of string) convertible to it
Default
""
Example
''printf "nameserver 10.200.100.1" | ${pkgs.openresolv}/bin/resolvconf -a wg0 -m 0''