3
0
Fork 0
forked from mirrors/nixpkgs

Example of networking.hosts is now literalExample

This commit is contained in:
Valentin Shirokov 2017-07-09 23:12:57 +03:00
parent 163393865f
commit d29fc731b3

View file

@ -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" ];