sisyphus/nixos/modules/utils/git/default.nix

24 lines
446 B
Nix
Raw Normal View History

2023-09-11 13:19:03 +02:00
{ config, lib, pkgs, ... }:
{
home-manager.users.tdpeuter = {
programs.git = {
enable = true;
userName = "tdpeuter";
userEmail = "tibo.depeuter@gmail.com";
extraConfig = {
core.editor = "vim";
};
ignores = [
"*.swp"
];
includes = [
{
path = "~/.gitconfig-ugent";
condition = "gitdir:~/Nextcloud/Documenten/UGent";
}
];
};
};
}