From 57d08c6c0e9b6825e815b2390fa9e91d40b68cf2 Mon Sep 17 00:00:00 2001 From: chayleaf Date: Wed, 18 Oct 2023 21:14:46 +0700 Subject: [PATCH] hydra: fix ssh connection to remote builder --- system/hosts/server/home.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hosts/server/home.nix b/system/hosts/server/home.nix index 24a9c83..5066820 100644 --- a/system/hosts/server/home.nix +++ b/system/hosts/server/home.nix @@ -150,9 +150,11 @@ in { { hostName = cfg.laptopHostname; maxJobs = 2; - protocol = "ssh-ng"; + # TODO: switch to ssh-ng https://github.com/NixOS/hydra/issues/688 + protocol = "ssh"; systems = [ "x86_64-linux" ]; supportedFeatures = [ "benchmark" "big-parallel" "ca-derivations" "kvm" "nixos-test" ]; + # hydra-queue-runner must have read access to this sshKey = "/secrets/hydra-builder-key"; sshUser = "hydra-builder"; publicHostKey = cfg.laptopPublicKey;