From 2b20ab5123e7ad8ff7b42c1b3461b74059b2b792 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Wed, 26 Mar 2025 19:53:32 -0400 Subject: [PATCH] Fix remote builder config. --- nix/configuration/hosts/odo/distributed_build.nix | 4 ++++ nix/configuration/roles/ssh/default.nix | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/nix/configuration/hosts/odo/distributed_build.nix b/nix/configuration/hosts/odo/distributed_build.nix index 741d80c..6064fc0 100644 --- a/nix/configuration/hosts/odo/distributed_build.nix +++ b/nix/configuration/hosts/odo/distributed_build.nix @@ -13,6 +13,7 @@ nix.buildMachines = [ { hostName = "hydra"; + sshUser = "talexander"; systems = [ "x86_64-linux" # "aarch64-linux" @@ -24,6 +25,9 @@ "benchmark" "big-parallel" # "kvm" + "gccarch-znver4" + "gccarch-x86-64-v3" + "gccarch-x86-64-v4" ]; } ]; diff --git a/nix/configuration/roles/ssh/default.nix b/nix/configuration/roles/ssh/default.nix index fc78956..f4c1d8b 100644 --- a/nix/configuration/roles/ssh/default.nix +++ b/nix/configuration/roles/ssh/default.nix @@ -19,6 +19,12 @@ ".ssh/known_hosts" ]; }; + users.root = { + home = "/root"; + files = [ + ".ssh/known_hosts" + ]; + }; }; home-manager.users.talexander =