From cc19ed9a39a1c094372de25ca3aef473f817fcac Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Wed, 5 Feb 2025 19:07:51 +0000 Subject: [PATCH] don't conflict with known_hosts specified elsewhere --- peering.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ]; })