From bee7994b38dc9c38bfbf97b67df3f2d149da1674 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 28 Mar 2025 17:47:49 +0100 Subject: [PATCH] Configure https->ssh rewrite for gh uris --- modules/cli/tools/git.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/cli/tools/git.nix b/modules/cli/tools/git.nix index 1826c94..1916843 100644 --- a/modules/cli/tools/git.nix +++ b/modules/cli/tools/git.nix @@ -74,6 +74,12 @@ }; # Break compat with older versions of git (and systems that doesn't support mtime) to have better performances feature.manyFiles = true; + + url = { + "ssh://git@github.com" = { + insteadOf = "https://github.com"; + }; + }; }; userEmail = "zoe.roux@zoriya.dev";