From e7bc5e3c9079ecfcb2a0f6868cb0c775355f3671 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 14 Oct 2024 14:15:17 +0900 Subject: [PATCH] :wrench: add orbi.public ssh key configuration --- components/network/hosts.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/network/hosts.nix b/components/network/hosts.nix index cda10f4..55b7bc8 100644 --- a/components/network/hosts.nix +++ b/components/network/hosts.nix @@ -1,5 +1,9 @@ +{ clanLib, ... }: { networking.extraHosts = '' 95.216.66.212 orbi.public ''; + services.openssh.knownHosts = { + "orbi.public".publicKey = clanLib.readFact "ssh.id_ed25519.pub" "orbi"; + }; }