nixos/nix-daemon: doc: use literalExample
Makes the example more readable by not squashed everything onto one single line.
This commit is contained in:
parent
4da420709d
commit
316e7d6764
@ -164,8 +164,8 @@ in
|
|||||||
buildMachines = mkOption {
|
buildMachines = mkOption {
|
||||||
type = types.listOf types.attrs;
|
type = types.listOf types.attrs;
|
||||||
default = [];
|
default = [];
|
||||||
example = [
|
example = literalExample ''
|
||||||
{ hostName = "voila.labs.cs.uu.nl";
|
[ { hostName = "voila.labs.cs.uu.nl";
|
||||||
sshUser = "nix";
|
sshUser = "nix";
|
||||||
sshKey = "/root/.ssh/id_buildfarm";
|
sshKey = "/root/.ssh/id_buildfarm";
|
||||||
system = "powerpc-darwin";
|
system = "powerpc-darwin";
|
||||||
@ -179,7 +179,8 @@ in
|
|||||||
supportedFeatures = [ "kvm" ];
|
supportedFeatures = [ "kvm" ];
|
||||||
mandatoryFeatures = [ "perf" ];
|
mandatoryFeatures = [ "perf" ];
|
||||||
}
|
}
|
||||||
];
|
]
|
||||||
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
This option lists the machines to be used if distributed
|
This option lists the machines to be used if distributed
|
||||||
builds are enabled (see
|
builds are enabled (see
|
||||||
|
Loading…
x
Reference in New Issue
Block a user