From b9f4305ea261179da69f9180fbf29ffa72208c50 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 30 Jul 2021 11:18:27 +0200 Subject: [PATCH] offload: Fix naming --- modules/programs/distributed-build/offload.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/programs/distributed-build/offload.nix b/modules/programs/distributed-build/offload.nix index 073c888..8347cd0 100644 --- a/modules/programs/distributed-build/offload.nix +++ b/modules/programs/distributed-build/offload.nix @@ -1,10 +1,12 @@ { pkgs, ... }: -{ +let + network = import ../../network.nix; +in { nix = { distributedBuilds = true; buildMachines = [{ - hostName = "mikulinux"; + hostName = "miku"; systems = [ "x86_64-linux" "i686-linux" ]; maxJobs = 4; speedFactor = 2; @@ -13,8 +15,8 @@ }; programs.ssh.extraConfig = '' -Host mikulinux - HostName 192.168.178.38 +Host miku + HostName ${network.miku} User builder IdentitiesOnly yes IdentityFile /root/.ssh/id_builder