nixos-config/components/network/sshd/known-hosts-manual.nix

27 lines
338 B
Nix
Raw Normal View History

2024-08-29 03:26:04 +02:00
{
pkgs,
config,
lib,
clanLib,
...
}:
2024-06-10 17:24:21 +02:00
with lib;
let
publicKey = clanLib.readFact "ssh.id_ed25519.pub";
in
{
config = {
services.openssh.knownHosts = {
orbi = {
hostNames = [
"git.ingolf-wagner.de"
"95.216.66.212"
];
2024-06-26 03:00:17 +02:00
publicKey = publicKey "orbi";
2024-06-10 17:24:21 +02:00
};
};
};
}