offload: Fix naming

This commit is contained in:
PapaTutuWawa 2021-07-30 11:18:27 +02:00
parent 0d42b40516
commit b9f4305ea2

View File

@ -1,10 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
{ let
network = import ../../network.nix;
in {
nix = { nix = {
distributedBuilds = true; distributedBuilds = true;
buildMachines = [{ buildMachines = [{
hostName = "mikulinux"; hostName = "miku";
systems = [ "x86_64-linux" "i686-linux" ]; systems = [ "x86_64-linux" "i686-linux" ];
maxJobs = 4; maxJobs = 4;
speedFactor = 2; speedFactor = 2;
@ -13,8 +15,8 @@
}; };
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host mikulinux Host miku
HostName 192.168.178.38 HostName ${network.miku}
User builder User builder
IdentitiesOnly yes IdentitiesOnly yes
IdentityFile /root/.ssh/id_builder IdentityFile /root/.ssh/id_builder