From e3d5e112888f6de5f4147581d08e492d074a51eb Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Sat, 16 Nov 2024 01:42:26 +0000 Subject: [PATCH] tohru, yevaud, orm: build remotely on kilgharrah instead of kalessin --- hosts/orm/default.nix | 2 +- hosts/tohru/default.nix | 2 +- hosts/yevaud/default.nix | 2 +- services/distributed-builds.nix | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hosts/orm/default.nix b/hosts/orm/default.nix index 6af5de3..81d8b38 100644 --- a/hosts/orm/default.nix +++ b/hosts/orm/default.nix @@ -17,7 +17,7 @@ qenya.services.distributed-builds = { enable = true; keyFile = "/etc/ssh/ssh_host_ed25519_key"; - builders = [ "kalessin" ]; + builders = [ "kilgharrah" ]; }; randomcat.services.zfs.datasets = { diff --git a/hosts/tohru/default.nix b/hosts/tohru/default.nix index cae91d3..cebd1cb 100644 --- a/hosts/tohru/default.nix +++ b/hosts/tohru/default.nix @@ -49,7 +49,7 @@ qenya.services.distributed-builds = { enable = true; keyFile = "/etc/ssh/ssh_host_ed25519_key"; - builders = [ "kalessin" ]; + builders = [ "kilgharrah" ]; }; programs.evolution.enable = true; # not in home-manager yet; not declaratively configurable yet diff --git a/hosts/yevaud/default.nix b/hosts/yevaud/default.nix index aa0a671..cb6d25c 100644 --- a/hosts/yevaud/default.nix +++ b/hosts/yevaud/default.nix @@ -17,7 +17,7 @@ qenya.services.distributed-builds = { enable = true; keyFile = "/etc/ssh/ssh_host_ed25519_key"; - builders = [ "kalessin" ]; + builders = [ "kilgharrah" ]; }; services.bind = { diff --git a/services/distributed-builds.nix b/services/distributed-builds.nix index e0bbbbb..9a44e9c 100644 --- a/services/distributed-builds.nix +++ b/services/distributed-builds.nix @@ -40,6 +40,14 @@ in sshKey = cfg.keyFile; systems = [ "aarch64-linux" "x86_64-linux" ]; supportedFeatures = [ ]; + }) + ++ (optional (elem "kilgharrah" cfg.builders) { + hostName = config.birdsong.hosts."kilgharrah".ipv4; + sshUser = "remotebuild"; + sshKey = cfg.keyFile; + systems = [ "x86_64-linux" ]; + maxJobs = 12; + supportedFeatures = [ "big-parallel" ]; }); }; }