diff options
author | Justin Humm <justin.humm@posteo.de> | 2018-03-16 17:06:20 +0100 |
---|---|---|
committer | Justin Humm <justin.humm@posteo.de> | 2018-03-17 19:53:06 +0100 |
commit | d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d (patch) | |
tree | 50aa2a294bd5b01440d8a3ebae0c382379d5d631 /nixos/modules/tasks/network-interfaces.nix | |
parent | 1798563e62e32f4c07428bdae818d15cd3c8369e (diff) |
nixos/manual: fixed example config for networking.interfaces
The former example gave a "value is a list while a set was expected" error.
Diffstat (limited to 'nixos/modules/tasks/network-interfaces.nix')
-rw-r--r-- | nixos/modules/tasks/network-interfaces.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 4039e4e51632..a2d2eb1c3119 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -489,7 +489,7 @@ in networking.interfaces = mkOption { default = {}; example = - { eth0.ipv4 = [ { + { eth0.ipv4.addresses = [ { address = "131.211.84.78"; prefixLength = 25; } ]; |