feat(git): change user and email according to remote
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-24 16:09:42 -05:00
parent 8c44ed110c
commit e92229f6a6

View file

@ -4,11 +4,38 @@
enable = true;
lfs.enable = true;
userName = "matt1432";
userEmail = "matt@nelim.org";
includes = [
{path = "${pkgs.dracula-theme}/git-colors";}
{
condition = "hasconfig:remote.*.url:git@github.com:*/**";
contents = {
user = {
email = "matt@nelim.org";
name = "matt1432";
};
};
}
{
condition = "hasconfig:remote.*.url:git@git.nelim.org:*/**";
contents = {
user = {
email = "matt@nelim.org";
name = "matt1432";
};
};
}
{
condition = "hasconfig:remote.*.url:git@gitlab.info.uqam.ca:*/**";
contents = {
user = {
email = "gj591944@ens.uqam.ca";
name = "Mathis Hurtubise";
};
};
}
];
delta = {