From cf9b4a9cd4247d9320eead9d15e57406f6163650 Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 22 Apr 2024 20:19:48 +0200 Subject: [PATCH] hosts/hydra-1: Fix hydra cannot connect to localhost as buildmachine --- hosts/hydra-1/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/hydra-1/configuration.nix b/hosts/hydra-1/configuration.nix index 8179409..2619065 100644 --- a/hosts/hydra-1/configuration.nix +++ b/hosts/hydra-1/configuration.nix @@ -30,13 +30,15 @@ distributedBuilds = true; buildMachines = [ { - hostName = "localhost"; + hostName = "hydra-1.net.clerie.de"; + sshUser = "root"; systems = [ "x86_64-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" ]; + sshKey = "/var/lib/hydra/id_ed25519"; } { hostName = "hydra-2.net.clerie.de"; @@ -48,7 +50,6 @@ "aarch64-linux" ]; sshKey = "/var/lib/hydra/id_ed25519"; - publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSURaRUQ5UU0rcWU3c0I2UjZhdHZQNldOYUkyc0Mybmg3VFRzRDZrZ1JwbnIgcm9vdEBoeWRyYS0yCg=="; } ]; };