From 9808188cc868a741d9710f2b075ada46d8f8c89d Mon Sep 17 00:00:00 2001 From: tzlil Date: Tue, 13 Dec 2022 15:57:58 +0200 Subject: started adding known hosts --- profiles/user.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'profiles/user.nix') diff --git a/profiles/user.nix b/profiles/user.nix index 3df7c18..71c6617 100644 --- a/profiles/user.nix +++ b/profiles/user.nix @@ -45,6 +45,12 @@ }; programs.ssh = { enable = true; + knownHosts = { + pc = { + extraHostNames = [ "100.99.246.128" ]; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINu5lRKb1Ao4uj1tAV10QHKIvXfC8ncQ65b+oJtxrd1e"; + }; + }; matchBlocks."*".identityFile = config.age.secrets."id_ed25519".path; }; }; -- cgit 1.4.1