diff options
author | tzlil <tzlils@protonmail.com> | 2022-12-13 15:57:58 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2022-12-13 15:57:58 +0200 |
commit | 9808188cc868a741d9710f2b075ada46d8f8c89d (patch) | |
tree | 607cee0390071742598904229569d357e784399f /profiles/user.nix | |
parent | f51f8e398fffe33dcbb4b9f9db95708e7a3dde82 (diff) |
started adding known hosts
Diffstat (limited to 'profiles/user.nix')
-rw-r--r-- | profiles/user.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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; }; }; |