From e13c7f7b88bf59708a22ff1696d10e6017214bc7 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Wed, 7 Sep 2022 04:19:25 +0200 Subject: [PATCH] Configure ssh to always use IPv4 --- users/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/users/default.nix b/users/default.nix index 2c034ca..9a76107 100644 --- a/users/default.nix +++ b/users/default.nix @@ -78,6 +78,13 @@ init.defaultBranch = "master"; }; }; + ssh = { + enable = true; + extraConfig = '' + # Force IPv4 otherwise git will try to use IPv6 which doesn't play well through a VPN + AddressFamily inet + ''; + }; rofi = { enable = true; theme = "gruvbox-dark";