From f1e6dc8750642ec001999c80da8f921207043b92 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 21 Feb 2017 15:41:37 +0100 Subject: [PATCH] networking.defaultGateway{,6}: fix example --- nixos/modules/tasks/network-interfaces.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 898207ef7a3c..2841a221755e 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -358,7 +358,7 @@ in default = null; example = { address = "131.211.84.1"; - device = "enp3s0"; + interface = "enp3s0"; }; type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts)); description = '' @@ -371,7 +371,7 @@ in default = null; example = { address = "2001:4d0:1e04:895::1"; - device = "enp3s0"; + interface = "enp3s0"; }; type = types.nullOr (types.coercedTo types.str gatewayCoerce (types.submodule gatewayOpts)); description = ''