From 99ef642dfe29608329f43d7a514cb746b9704533 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 30 Nov 2020 19:56:40 -0500 Subject: helium: fix remote builds --- machines/helium.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'machines/helium.nix') diff --git a/machines/helium.nix b/machines/helium.nix index 9c75b18..f8850cb 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -142,18 +142,22 @@ in { ''; buildMachines = [ + { + hostName = "192.168.1.42"; + sshUser = "ben"; + sshKey = "/home/ben/.ssh/id_rsa"; + system = "x86_64-linux"; + } { hostName = "dev.simatime.com"; - sshUser = "root"; + sshUser = "ben"; sshKey = "/home/ben/.ssh/id_rsa"; system = "x86_64-linux"; - maxJobs = 4; - speedFactor = 4; - #supportedFeatures = [ ]; - #mandatoryFeatures = [ ]; } + ]; distributedBuilds = true; + trustedUsers = [ "root" "ben" ]; }; # This value determines the NixOS release with which your system is to be -- cgit v1.2.3