From c46d9665a180447bfb62fc89149129465ca2854c Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Wed, 8 Oct 2025 10:39:41 +1000 Subject: [PATCH] fix conditional .gitconfig --- homes/modules/git.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/homes/modules/git.nix b/homes/modules/git.nix index c2578a8..fdf6afb 100755 --- a/homes/modules/git.nix +++ b/homes/modules/git.nix @@ -33,13 +33,19 @@ "github:" ]; }; + "https://gitlab.com/" = { + insteadOf = [ + "gl:" + "gitlab:" + ]; + }; }; }; includes = [ { path = "/home/me/agribit/.gitconfig"; - condition = "gitdir:/home/me/agribit/"; + condition = "gitdir:/home/me/agribit/**"; } ]; };