[git] Fix different mail for uni
This commit is contained in:
parent
e9a61f9301
commit
43c8224f5b
1 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
home-manager.users.tdpeuter = {
|
home-manager.users.tdpeuter = {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "tdpeuter";
|
userName = "Tibo De Peuter";
|
||||||
userEmail = "tibo.depeuter@gmail.com";
|
userEmail = "tibo.depeuter@gmail.com";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core.editor = "vim";
|
core.editor = "vim";
|
||||||
|
@ -14,8 +14,11 @@
|
||||||
];
|
];
|
||||||
includes = [
|
includes = [
|
||||||
{
|
{
|
||||||
path = "~/.gitconfig-ugent";
|
condition = "gitdir:~/university/"; # Trailing backslash is necessary!
|
||||||
condition = "gitdir:~/Nextcloud/Documenten/UGent";
|
contentSuffix = ".gitconfig";
|
||||||
|
contents = {
|
||||||
|
user.email = "tibo.depeuter@ugent.be";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue