From 14988a0274ad2649a3e590823972bb2a70552aa9 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Tue, 30 Dec 2025 02:37:59 -0500 Subject: [PATCH 1/3] generation 562 25.11.20250714.62e0f05 --- system/services/remote-builds.nix | 24 ++++++++++++++++++++++++ system/services/services.nix | 1 + 2 files changed, 25 insertions(+) create mode 100644 system/services/remote-builds.nix diff --git a/system/services/remote-builds.nix b/system/services/remote-builds.nix new file mode 100644 index 0000000..eae5619 --- /dev/null +++ b/system/services/remote-builds.nix @@ -0,0 +1,24 @@ +{ + config, + pkgs, + ... +}: { + nix.distributedBuilds = true; + nix.extraOptions = '' + builders-use-substitutes = true + ''; + + nix.buildMachines = [ + { + hostName = "server3-gpu"; # Must be resolvable or an IP + system = "x86_64-linux"; # The architecture of the builder + protocol = "ssh-ng"; # Optimized protocol + maxJobs = 4; + speedFactor = 2; + supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; + mandatoryFeatures = []; + sshUser = "synchronous"; + sshKey = "/synchronous/.ssh/id_rsa"; # Path to private key on client + } + ]; +} diff --git a/system/services/services.nix b/system/services/services.nix index 545329d..602851b 100644 --- a/system/services/services.nix +++ b/system/services/services.nix @@ -10,5 +10,6 @@ # ./resolved/default.nix (not enabled, in favor of dnsmasq) ./dnsmasq/default.nix ./printing.nix + ./remote-builds.nix ]; } From ae6fdaa2bc51d47752e265d8ce374804a0ddf89e Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Tue, 30 Dec 2025 02:47:24 -0500 Subject: [PATCH 2/3] generation 563 25.11.20250714.62e0f05 --- system/services/remote-builds.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/services/remote-builds.nix b/system/services/remote-builds.nix index eae5619..6c2b482 100644 --- a/system/services/remote-builds.nix +++ b/system/services/remote-builds.nix @@ -18,7 +18,7 @@ supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; mandatoryFeatures = []; sshUser = "synchronous"; - sshKey = "/synchronous/.ssh/id_rsa"; # Path to private key on client + sshKey = "/home/synchronous/.ssh/id_ed25519"; # Path to private key on client } ]; } From 573449ffadbd9fa0f3bf9102b8b83194ac223d49 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Tue, 30 Dec 2025 02:51:00 -0500 Subject: [PATCH 3/3] generation 564 25.11.20250714.62e0f05 --- system/services/remote-builds.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/services/remote-builds.nix b/system/services/remote-builds.nix index 6c2b482..936bbdc 100644 --- a/system/services/remote-builds.nix +++ b/system/services/remote-builds.nix @@ -4,9 +4,9 @@ ... }: { nix.distributedBuilds = true; - nix.extraOptions = '' - builders-use-substitutes = true - ''; + # nix.extraOptions = '' + # builders-use-substitutes = true + # ''; nix.buildMachines = [ {