Example of networking.hosts is now literalExample
This commit is contained in:
parent
163393865f
commit
d29fc731b3
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user