0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos-modules: Fixes related to "literalExample" and "defaultText".

This commit is contained in:
Thomas Strobel 2016-02-29 01:47:12 +01:00
parent cad8957eab
commit 2d6696fc0a
4 changed files with 12 additions and 9 deletions

View file

@ -559,7 +559,7 @@ in
algorithm = "hmac-md5";
keyFile = "/path/to/my/key";
};
};
}
'';
description = ''
Define your TSIG keys here.
@ -719,7 +719,7 @@ in
...
''';
};
};
}
'';
description = ''
Define your zones here. Zones can cascade other zones and therefore

View file

@ -78,10 +78,11 @@ in {
'';
default = {};
example = literalExample ''
echelon = {
psk = "abcdefgh";
};
"free.wifi" = {};
{ echelon = {
psk = "abcdefgh";
};
"free.wifi" = {};
}
'';
};