From 868aac8c30897423c2e65ab4c94e017a8e4b892a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2019 15:11:54 -0700 Subject: setup distributed builds over ssh --- machines/helium.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'machines/helium.nix') diff --git a/machines/helium.nix b/machines/helium.nix index 2f5c166..17eef23 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -118,7 +118,22 @@ extraOptions = '' gc-keep-outputs = true gc-keep-derivations = true + builders-use-substitutes = true ''; + + buildMachines = [ + { + hostName = "home.simatime.com"; + sshUser = "root"; + sshKey = "/home/ben/.ssh/hidor-kahih"; + system = "x86_64-linux"; + maxJobs = 4; + speedFactor = 4; + #supportedFeatures = [ ]; + #mandatoryFeatures = [ ]; + } + ]; + distributedBuilds = true; }; # This value determines the NixOS release with which your system is to be -- cgit v1.2.3