···3030 synapse server for the <literal>example.org</literal> domain, served from
3131 the host <literal>myhostname.example.org</literal>. For more information,
3232 please refer to the
3333- <link xlink:href="https://github.com/matrix-org/synapse#synapse-installation">
3333+ <link xlink:href="https://matrix-org.github.io/synapse/latest/setup/installation.html">
3434 installation instructions of Synapse </link>.
3535<programlisting>
3636{ pkgs, lib, config, ... }:
+11-1
nixos/modules/services/misc/nix-daemon.nix
···227227 The hostname of the build machine.
228228 '';
229229 };
230230+ protocol = mkOption {
231231+ type = types.enum [ "ssh" "ssh-ng" ];
232232+ default = "ssh";
233233+ example = "ssh-ng";
234234+ description = lib.mdDoc ''
235235+ The protocol used for communicating with the build machine.
236236+ Use `ssh-ng` if your remote builder and your
237237+ local Nix version support that improved protocol.
238238+ '';
239239+ };
230240 system = mkOption {
231241 type = types.nullOr types.str;
232242 default = null;
···670680 concatMapStrings
671681 (machine:
672682 (concatStringsSep " " ([
673673- "${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}"
683683+ "${machine.protocol}://${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}"
674684 (if machine.system != null then machine.system else if machine.systems != [ ] then concatStringsSep "," machine.systems else "-")
675685 (if machine.sshKey != null then machine.sshKey else "-")
676686 (toString machine.maxJobs)