about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-11 16:46:21 +0200
committerSoispha <soispha@vhack.eu>2023-07-11 16:46:21 +0200
commit22a25f6a325e545b31c64514a08b13cc4d78d2fa (patch)
treec34ee94f13d674f3c74a850ab228dd695e572dd3
parentFix(secrets/nheko/apzu): Use correct config (diff)
downloadnixos-config-22a25f6a325e545b31c64514a08b13cc4d78d2fa.tar.gz
nixos-config-22a25f6a325e545b31c64514a08b13cc4d78d2fa.zip
Fix(hm/conf/ssh): Only connect to codeberg.org over ipv4 (ipv6 failed)
-rw-r--r--home-manager/config/ssh/default.nix6
1 files changed, 6 insertions, 0 deletions
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";
+      };
+    };
   };
 }