From 7cda1008886e501df11253c703f8f22350cb7139 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 11 Aug 2022 09:44:32 +0800 Subject: [PATCH] users/foo-dogsquared: improve git config --- users/home-manager/foo-dogsquared/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index 626be419..0c222aab 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -70,9 +70,11 @@ in { # Shorthand for popular forges ala-Nix flake URL inputs. It's just a fun # little part of the config. url = { - "https://github.com".insteadOf = [ "gh:" "github:" ]; - "https://gitlab.com".insteadOf = [ "gl:" "gitlab:" ]; - "https://git.sr.ht".insteadOf = [ "sourcehut:" ]; + "https://github.com/".insteadOf = [ "gh:" "github:" ]; + "https://gitlab.com/".insteadOf = [ "gl:" "gitlab:" ]; + "https://gitlab.gnome.org/".insteadOf = [ "gnome:" ]; + "https://invent.kde.org/".insteadOf = [ "kde:" ]; + "https://git.sr.ht/".insteadOf = [ "sourcehut:" ]; }; }; };