From 22a25f6a325e545b31c64514a08b13cc4d78d2fa Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 11 Jul 2023 16:46:21 +0200 Subject: Fix(hm/conf/ssh): Only connect to codeberg.org over ipv4 (ipv6 failed) --- home-manager/config/ssh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home-manager/config/ssh') diff --git a/home-manager/config/ssh/default.nix b/home-manager/config/ssh/default.nix index 6ce3a7f7..7160adac 100644 --- a/home-manager/config/ssh/default.nix +++ b/home-manager/config/ssh/default.nix @@ -5,5 +5,11 @@ hashKnownHosts = false; serverAliveInterval = 240; userKnownHostsFile = "${config.xdg.dataHome}/ssh/known_hosts"; + matchBlocks = { + "codeberg.org" = { + # TODO: Remove this once they fix their ipv6 config + addressFamily = "inet"; + }; + }; }; } -- cgit 1.4.1