···30 synapse server for the <literal>example.org</literal> domain, served from
31 the host <literal>myhostname.example.org</literal>. For more information,
32 please refer to the
33- <link xlink:href="https://github.com/matrix-org/synapse#synapse-installation">
34 installation instructions of Synapse </link>.
35<programlisting>
36{ pkgs, lib, config, ... }:
···30 synapse server for the <literal>example.org</literal> domain, served from
31 the host <literal>myhostname.example.org</literal>. For more information,
32 please refer to the
33+ <link xlink:href="https://matrix-org.github.io/synapse/latest/setup/installation.html">
34 installation instructions of Synapse </link>.
35<programlisting>
36{ pkgs, lib, config, ... }:
+11-1
nixos/modules/services/misc/nix-daemon.nix
···227 The hostname of the build machine.
228 '';
229 };
0000000000230 system = mkOption {
231 type = types.nullOr types.str;
232 default = null;
···670 concatMapStrings
671 (machine:
672 (concatStringsSep " " ([
673- "${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}"
674 (if machine.system != null then machine.system else if machine.systems != [ ] then concatStringsSep "," machine.systems else "-")
675 (if machine.sshKey != null then machine.sshKey else "-")
676 (toString machine.maxJobs)
···227 The hostname of the build machine.
228 '';
229 };
230+ protocol = mkOption {
231+ type = types.enum [ "ssh" "ssh-ng" ];
232+ default = "ssh";
233+ example = "ssh-ng";
234+ description = lib.mdDoc ''
235+ The protocol used for communicating with the build machine.
236+ Use `ssh-ng` if your remote builder and your
237+ local Nix version support that improved protocol.
238+ '';
239+ };
240 system = mkOption {
241 type = types.nullOr types.str;
242 default = null;
···680 concatMapStrings
681 (machine:
682 (concatStringsSep " " ([
683+ "${machine.protocol}://${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}"
684 (if machine.system != null then machine.system else if machine.systems != [ ] then concatStringsSep "," machine.systems else "-")
685 (if machine.sshKey != null then machine.sshKey else "-")
686 (toString machine.maxJobs)
+9
nixos/tests/libvirtd.nix
···1213 libvirtd.enable = true;
14 };
0015 networking.nameservers = [ "192.168.122.1" ];
16 security.polkit.enable = true;
17 environment.systemPackages = with pkgs; [ virt-manager ];
···36 virthost.succeed("virsh pool-create-as foo disk --source-dev /dev/loop0 --target /dev")
37 virthost.succeed("virsh vol-create-as foo loop0p1 25MB")
38 virthost.succeed("virsh vol-create-as foo loop0p2 50MB")
00000003940 with subtest("check if nixos install iso boots and network works"):
41 virthost.succeed(