summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2018-03-16 17:06:20 +0100
committerJustin Humm <justin.humm@posteo.de>2018-03-17 19:53:06 +0100
commitd69e0d99e023d0e09b09dab4dd250c0eb5aabb7d (patch)
tree50aa2a294bd5b01440d8a3ebae0c382379d5d631 /nixos/modules/tasks
parent1798563e62e32f4c07428bdae818d15cd3c8369e (diff)
downloadnixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar.gz
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar.bz2
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar.lz
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar.xz
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.tar.zst
nixlib-d69e0d99e023d0e09b09dab4dd250c0eb5aabb7d.zip
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')
-rw-r--r--nixos/modules/tasks/network-interfaces.nix2
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;
           } ];