From c156ef427ee163a0d7ac4375edd3fe473b0871c1 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 20 Jan 2025 23:27:51 +0000 Subject: [PATCH] added remotebuilder public key --- .../optional/distributed-builds/local-machine.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/hosts/common/optional/distributed-builds/local-machine.nix b/hosts/common/optional/distributed-builds/local-machine.nix index 24d37a2..0abefb1 100644 --- a/hosts/common/optional/distributed-builds/local-machine.nix +++ b/hosts/common/optional/distributed-builds/local-machine.nix @@ -20,12 +20,11 @@ in } ]; - # TODO: set known host here when have static ip on main server - # programs.ssh.knownHosts = { - # "merlin" = { - # publicKey = "server pubkey"; - # }; - # }; + programs.ssh.knownHosts = { + "merlin" = { + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFSGyrQvwa7gj0tG/EX3siWzGT9badUkD0yw0YGkcNeQ root@merlin"; + }; + }; programs.ssh.extraConfig = '' Host ${remoteMachineIp}