From 577eebbdf5d2d325e451fb506bde10228d8c5b80 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Fri, 31 Oct 2025 00:54:05 +0100 Subject: [PATCH] loptland: add remote runner --- modules/hosts/loptland/default.nix | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/modules/hosts/loptland/default.nix b/modules/hosts/loptland/default.nix index b35e3b4..684e919 100644 --- a/modules/hosts/loptland/default.nix +++ b/modules/hosts/loptland/default.nix @@ -68,5 +68,41 @@ in 443 ]; + nix = { + distributedBuilds = true; + + extraOptions = '' + builders-use-substitutes = true + ''; + + buildMachines = [ + { + hostName = "localhost"; + protocol = null; + system = "x86_64-linux"; + + supportedFeatures = [ + "kvm" + "nixos-test" + "big-parallel" + "benchmark" + ]; + } + { + hostName = "100.86.23.74"; + sshUser = "remotebuild"; + sshKey = "/root/.ssh/remotebuild"; + systems = [ "aarch64-linux" ]; + protocol = "ssh"; + + supportedFeatures = [ + "nixos-test" + "big-parallel" + "kvm" + ]; + } + ]; + }; + }; }