diff options
author | Soispha <soispha@vhack.eu> | 2023-07-11 16:46:21 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-11 16:46:21 +0200 |
commit | 22a25f6a325e545b31c64514a08b13cc4d78d2fa (patch) | |
tree | c34ee94f13d674f3c74a850ab228dd695e572dd3 /home-manager/config/ssh | |
parent | Fix(secrets/nheko/apzu): Use correct config (diff) | |
download | nixos-config-22a25f6a325e545b31c64514a08b13cc4d78d2fa.tar.gz nixos-config-22a25f6a325e545b31c64514a08b13cc4d78d2fa.zip |
Fix(hm/conf/ssh): Only connect to codeberg.org over ipv4 (ipv6 failed)
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/ssh/default.nix | 6 |
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"; + }; + }; }; } |