nix.buildMachines: Don't require sshUser

This commit is contained in:
Eelco Dolstra 2015-06-26 18:12:47 +02:00
parent 946a6823b2
commit fb203a34c0

View File

@ -296,7 +296,7 @@ in
{ enable = cfg.buildMachines != [];
text =
concatMapStrings (machine:
"${machine.sshUser}@${machine.hostName} "
"${if machine ? sshUser then "${machine.sshUser}@" else ""}${machine.hostName} "
+ (if machine ? system then machine.system else concatStringsSep "," machine.systems)
+ " ${machine.sshKey} ${toString machine.maxJobs} "
+ (if machine ? speedFactor then toString machine.speedFactor else "1" )