From de6ae7023cc273a2129221c53641491e4cf6d961 Mon Sep 17 00:00:00 2001 From: cspark Date: Wed, 14 May 2025 16:58:51 +0100 Subject: [PATCH] Fix SSH for remote builder --- configurations/laptop/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configurations/laptop/configuration.nix b/configurations/laptop/configuration.nix index 3b1e4765..37f240f2 100644 --- a/configurations/laptop/configuration.nix +++ b/configurations/laptop/configuration.nix @@ -32,11 +32,12 @@ knownHosts = { cspark-desktop-nixremotebuilder = { extraHostNames = [ "cspark-nixos-desktop" "192.168.1.110" ]; - publicKeyFile = ./resources/nixos/.ssh/cspark-desktop-nixremotebuilder.pub; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWWfMZhdSKiUZZU1Pl7Hp6+BKHhWswLNmngLDzzMsGl"; }; }; extraConfig = '' Host cspark-desktop-nixremotebuilder + Hostname 192.168.1.110 IdentitiesOnly yes IdentityFile /root/.ssh/cspark-desktop-nixremotebuilder # The weakly privileged user on the remote builder – if not set, 'root' is used – which will hopefully fail