defaultGateway
networking.defaultGateway.address
The default gateway address.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix
networking.defaultGateway.interface
The default gateway interface.
Type: null or string
Default
null
Example
"enp0s3"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix
networking.defaultGateway.metric
The default gateway metric/preference.
Type: null or signed integer
Default
null
Example
42
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix