mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Example of networking.hosts is now literalExample
This commit is contained in:
parent
163393865f
commit
d29fc731b3
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ in
|
||||||
networking.hosts = lib.mkOption {
|
networking.hosts = lib.mkOption {
|
||||||
type = types.attrsOf ( types.listOf types.str );
|
type = types.attrsOf ( types.listOf types.str );
|
||||||
default = {};
|
default = {};
|
||||||
example = ''
|
example = literalExample ''
|
||||||
{
|
{
|
||||||
"127.0.0.1" = [ "foo.bar.baz" ];
|
"127.0.0.1" = [ "foo.bar.baz" ];
|
||||||
"192.168.0.2" = [ "fileserver.local" "nameserver.local" ];
|
"192.168.0.2" = [ "fileserver.local" "nameserver.local" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue