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 = ''