From d29fc731b3d97959331322d2ff787e665e7d6342 Mon Sep 17 00:00:00 2001 From: Valentin Shirokov Date: Sun, 9 Jul 2017 23:12:57 +0300 Subject: [PATCH] Example of networking.hosts is now literalExample --- nixos/modules/config/networking.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index 6035facb594e..3a643943d3d4 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -32,7 +32,7 @@ in networking.hosts = lib.mkOption { type = types.attrsOf ( types.listOf types.str ); default = {}; - example = '' + example = literalExample '' { "127.0.0.1" = [ "foo.bar.baz" ]; "192.168.0.2" = [ "fileserver.local" "nameserver.local" ];