mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
users/foo-dogsquared: improve git config
This commit is contained in:
parent
2d5f4ec996
commit
7cda100888
@ -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:" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user