From e16851b900cb62528427186e80f173c1954659b6 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Thu, 7 Apr 2016 17:30:41 +0200 Subject: networking module: Add some missing `literalExample` --- nixos/modules/tasks/network-interfaces.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 0528012adfd8..c52bd904caec 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -523,7 +523,7 @@ in networking.bonds = mkOption { default = { }; - example = { + example = literalExample { bond0 = { interfaces = [ "eth0" "wlan0" ]; miimon = 100; @@ -598,7 +598,7 @@ in networking.macvlans = mkOption { type = types.attrsOf types.optionSet; default = { }; - example = { + example = literalExample { wan = { interface = "enp2s0"; mode = "vepa"; @@ -629,7 +629,7 @@ in networking.sits = mkOption { type = types.attrsOf types.optionSet; default = { }; - example = { + example = literalExample { hurricane = { remote = "10.0.0.1"; local = "10.0.0.22"; @@ -688,7 +688,7 @@ in networking.vlans = mkOption { default = { }; - example = { + example = literalExample { vlan0 = { id = 3; interface = "enp3s0"; @@ -727,7 +727,7 @@ in networking.wlanInterfaces = mkOption { default = { }; - example = { + example = literalExample { "wlan-station0" = { device = "wlp6s0"; }; -- cgit 1.4.1