users/foo-dogsquared: update git config

This commit is contained in:
Gabriel Arazas 2022-08-10 12:36:26 +08:00
parent 9c79c70d3b
commit 10fd8f8ca1

View File

@ -64,6 +64,16 @@ in {
smtpserverport = 587;
smtpuser = email;
};
init.defaultBranch = "main";
# 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:" ];
};
};
};