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

nixos/nix-daemon: doc: use literalExample

Makes the example more readable by not squashed everything onto one
single line.
This commit is contained in:
Bjørn Forsman 2017-03-05 14:04:47 +01:00
parent 4da420709d
commit 316e7d6764

View file

@ -164,8 +164,8 @@ in
buildMachines = mkOption {
type = types.listOf types.attrs;
default = [];
example = [
{ hostName = "voila.labs.cs.uu.nl";
example = literalExample ''
[ { hostName = "voila.labs.cs.uu.nl";
sshUser = "nix";
sshKey = "/root/.ssh/id_buildfarm";
system = "powerpc-darwin";
@ -179,7 +179,8 @@ in
supportedFeatures = [ "kvm" ];
mandatoryFeatures = [ "perf" ];
}
];
]
'';
description = ''
This option lists the machines to be used if distributed
builds are enabled (see