summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-23 15:11:54 -0700
committerBen Sima <ben@bsima.me>2019-05-23 15:11:54 -0700
commit868aac8c30897423c2e65ab4c94e017a8e4b892a (patch)
tree830df4fd158a472ae69a94152563b774d7821058 /machines
parent4294df8a48cd6026ad64373af5de585d8ac70ad1 (diff)
setup distributed builds over ssh
Diffstat (limited to 'machines')
-rw-r--r--machines/helium.nix15
1 files changed, 15 insertions, 0 deletions
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