nixos: use ssh-ng as default distributed builds protocol
This commit is contained in:
parent
ce67d0de9b
commit
7f784a59fa
1 changed files with 5 additions and 3 deletions
|
|
@ -14,11 +14,11 @@
|
||||||
speedFactor,
|
speedFactor,
|
||||||
systems ? ["x86_64-linux"],
|
systems ? ["x86_64-linux"],
|
||||||
supportedFeatures ? ["big-parallel" "kvm" "nixos-test"],
|
supportedFeatures ? ["big-parallel" "kvm" "nixos-test"],
|
||||||
|
maxJobs,
|
||||||
}: {
|
}: {
|
||||||
inherit speedFactor systems supportedFeatures;
|
inherit speedFactor systems supportedFeatures maxJobs;
|
||||||
hostName = host;
|
hostName = host;
|
||||||
maxJobs = self.nixosConfigurations.${host}.config.nix.settings.max-jobs or "auto";
|
protocol = "ssh-ng";
|
||||||
protocol = "ssh";
|
|
||||||
sshKey = "/home/${admin.name}/.ssh/builder";
|
sshKey = "/home/${admin.name}/.ssh/builder";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -26,10 +26,12 @@
|
||||||
ooksdesk = mkBuilderMachine {
|
ooksdesk = mkBuilderMachine {
|
||||||
host = "ooksdesk";
|
host = "ooksdesk";
|
||||||
speedFactor = 16;
|
speedFactor = 16;
|
||||||
|
maxJobs = 4;
|
||||||
};
|
};
|
||||||
ooksmedia = mkBuilderMachine {
|
ooksmedia = mkBuilderMachine {
|
||||||
host = "ooksmedia";
|
host = "ooksmedia";
|
||||||
speedFactor = 8;
|
speedFactor = 8;
|
||||||
|
maxJobs = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue