From ca2c6278157bfc0f7529b9a4d03c94cf763709f4 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Sat, 18 Oct 2025 14:24:57 +0200 Subject: [PATCH] [shared] Remove problematic ssh extraHostnames --- shared/base/modules/security/ssh.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/shared/base/modules/security/ssh.nix b/shared/base/modules/security/ssh.nix index e01a820..3f204ee 100644 --- a/shared/base/modules/security/ssh.nix +++ b/shared/base/modules/security/ssh.nix @@ -3,19 +3,10 @@ lib, systemConfig, systems, - common, ... }: { programs.ssh.knownHosts = builtins.mapAttrs (hostName: system: { - extraHostNames = [ - ( - if (system ? address && system.address ? tailnet) then - system.address.tailnet - else - common.tailnetAddr hostName - ) - ]; publicKey = system.ssh.publicKey; }) systems; users.users.${systemConfig.username}.openssh.authorizedKeys.keys = (