From 161a5917f6493564b114a1450ce82133f0f86aaa Mon Sep 17 00:00:00 2001 From: unexplrd Date: Wed, 11 Jun 2025 17:53:37 +0300 Subject: [PATCH] distibuted-build: change to ssh-ng Signed-off-by: unexplrd --- modules/nixos/config/nix/distibuted-build.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/nixos/config/nix/distibuted-build.nix b/modules/nixos/config/nix/distibuted-build.nix index 5af6877..28382f6 100644 --- a/modules/nixos/config/nix/distibuted-build.nix +++ b/modules/nixos/config/nix/distibuted-build.nix @@ -15,7 +15,7 @@ in { sshServe = { enable = true; keys = map (f: readFile f) user.openssh.authorizedKeys.keyFiles; - # protocol = "ssh-ng"; + protocol = "ssh-ng"; trusted = true; write = true; }; @@ -34,11 +34,14 @@ in { buildMachines = [ { hostName = "dunamis"; - system = "x86_64-linux"; + maxJobs = 3; + protocol = "ssh-ng"; publicHostKey = pubHost; + speedFactor = 2; sshKey = secrets."ssh-${hostName}-user".path; sshUser = "nix-ssh"; supportedFeatures = ["benchmark" "big-parallel" "kvm" "nixos-test"]; + system = "x86_64-linux"; } ]; };