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