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 --- lib/common.nix | 3 +++ linux.nix | 2 +- machines/helium.nix | 14 +++++++++----- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/common.nix b/lib/common.nix index 47a2124..98d187a 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -87,6 +87,9 @@ in ssh = { enable = true; forwardAgent = true; + extraConfig = '' + StrictHostKeyChecking=accept-new + ''; matchBlocks = { "github.com" = { hostname = "github.com"; diff --git a/linux.nix b/linux.nix index 9d4e7e4..b2ed394 100644 --- a/linux.nix +++ b/linux.nix @@ -162,7 +162,7 @@ in }; services = { - lorri.enable = true; + lorri.enable = false; emacs.enable = true; kbfs.enable = true; 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