don't conflict with known_hosts specified elsewhere

This commit is contained in:
Katherina Walshe-Grey 2025-02-05 19:07:51 +00:00
parent 007130e869
commit cc19ed9a39

View file

@ -133,8 +133,8 @@ in
}; };
}; };
services.openssh.knownHosts = builtins.mapAttrs services.openssh.knownHosts = lib.mapAttrs'
(name: host: { (name: host: lib.nameValuePair ("birdsong_" + name) {
publicKey = host.hostKey; publicKey = host.hostKey;
hostNames = [ host.ipv4 host.ipv6 ]; hostNames = [ host.ipv4 host.ipv6 ];
}) })