summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-03-18 17:50:37 +0100
committerGitHub <noreply@github.com>2018-03-18 17:50:37 +0100
commit45241c5cd172d4fdaef44c793649338cae118024 (patch)
tree5c750684d2066c75c29db208ad069e59c7054ec9 /nixos
parent7a263b9af911303c18dfbdebe1a48b92f4fb8a19 (diff)
parentd69e0d99e023d0e09b09dab4dd250c0eb5aabb7d (diff)
downloadnixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar.gz
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar.bz2
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar.lz
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar.xz
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.tar.zst
nixpkgs-45241c5cd172d4fdaef44c793649338cae118024.zip
Merge pull request #37272 from erictapen/manual-networking
nixos/manual: fixed example config for networking.interfaces
Diffstat (limited to 'nixos')
-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 4039e4e5163..a2d2eb1c311 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;
           } ];