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.
- Type
null or ((submodule) or string convertible to it)- Default
null- Example
{ address = "2001:4d0:1e04:895::1"; interface = "enp3s0"; source = "2001:4d0:1e04:895::2"; }- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>