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

21 lines
328 B
Nix
Raw Permalink Normal View History

2024-06-10 17:24:21 +02:00
{ pkgs, config, lib, clanLib, ... }:
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
};
};
};
}