summary refs log tree commit diff
path: root/nixos/doc/manual/configuration/ipv4-config.xml
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2017-12-03 05:13:14 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-02-17 14:01:24 +0100
commitc1bed05e341756f7fdfa73035c7f1e078e49be3d (patch)
tree462f47865c4ff0949484d0aaa2e3845d0eb2ddc7 /nixos/doc/manual/configuration/ipv4-config.xml
parentf41111c4da9a7eb5cade95d945eec7576757d27d (diff)
downloadnixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar.gz
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar.bz2
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar.lz
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar.xz
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.tar.zst
nixpkgs-c1bed05e341756f7fdfa73035c7f1e078e49be3d.zip
nixos/networking-interfaces: rename IP addresses/routes options
Diffstat (limited to 'nixos/doc/manual/configuration/ipv4-config.xml')
-rw-r--r--nixos/doc/manual/configuration/ipv4-config.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/configuration/ipv4-config.xml b/nixos/doc/manual/configuration/ipv4-config.xml
index 053501b1736..68238b547d6 100644
--- a/nixos/doc/manual/configuration/ipv4-config.xml
+++ b/nixos/doc/manual/configuration/ipv4-config.xml
@@ -12,7 +12,7 @@ interfaces.  However, you can configure an interface manually as
 follows:
 
 <programlisting>
-networking.interfaces.eth0.ip4 = [ { address = "192.168.1.2"; prefixLength = 24; } ];
+networking.interfaces.eth0.ipv4.addresses = [ { address = "192.168.1.2"; prefixLength = 24; } ];
 </programlisting>
 
 Typically you’ll also want to set a default gateway and set of name