[NixOS] Add known hosts for github and gitlab

This commit is contained in:
Ivan Malison 2023-08-21 17:25:41 -06:00
parent d6e4d442dc
commit 67d72d1790

View File

@ -22,4 +22,17 @@
PasswordAuthentication = false;
};
};
programs.ssh = {
knownHosts = {
github = {
hostNames = ["github.com"];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl";
};
gitlab = {
hostNames = ["gitlab.com"];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf";
};
};
};
}