diff --git a/peering.nix b/peering.nix index 8549400..97cf12d 100644 --- a/peering.nix +++ b/peering.nix @@ -133,8 +133,8 @@ in }; }; - services.openssh.knownHosts = builtins.mapAttrs - (name: host: { + services.openssh.knownHosts = lib.mapAttrs' + (name: host: lib.nameValuePair ("birdsong_" + name) { publicKey = host.hostKey; hostNames = [ host.ipv4 host.ipv6 ]; })