From 034d7a5f00fa5784d92d180abc56a0f472c79055 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 21 Jan 2025 10:03:10 -0500 Subject: [PATCH] global/ssh: add github to known hosts --- modules/global/ssh.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/global/ssh.nix b/modules/global/ssh.nix index 1ccc440..01c88eb 100644 --- a/modules/global/ssh.nix +++ b/modules/global/ssh.nix @@ -16,6 +16,12 @@ with lib; path = "/etc/ssh/ssh_host_ed25519_key"; type = "ed25519"; }]; + knownHosts = { + "github.com" = { + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; + extraHostNames = [ "ssh.github.com" "ssh.github.com:443" ]; + }; + }; }; programs.ssh = {