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}