MyNixOS website logo
option

networking.defaultGateway6

The default ipv6 gateway. It can be left empty if it is auto-detected through DHCP. It can be specified as a string or an option set along with a network interface.

Declarations
Type
null or ((submodule) or string convertible to it)
Default
null
Example
{
  address = "2001:4d0:1e04:895::1";
  interface = "enp3s0";
}