From 897af2712ffcc79bb95a753122e2221eb62f6393 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 17 Jun 2023 10:46:05 +0800 Subject: [PATCH] feat: dstributed builds --- modules/nixos/remote-building.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/remote-building.nix b/modules/nixos/remote-building.nix index 22a20116..08d49047 100644 --- a/modules/nixos/remote-building.nix +++ b/modules/nixos/remote-building.nix @@ -45,7 +45,7 @@ # 3. a host alias defined globally in /etc/ssh/ssh_config hostName = "aquamarine"; # remote builder's max-job - maxJobs = 3; + maxJobs = 4; # speedFactor's a signed integer # nix seems always try to build on the machine with the highest speedFactor speedFactor = 1; @@ -59,7 +59,7 @@ { inherit sshUser sshKey systems supportedFeatures; hostName = "kana"; - maxJobs = 1; + maxJobs = 2; speedFactor = 1; } ];