dotfiles/home/git/default.nix

26 lines
529 B
Nix
Raw Normal View History

2024-06-02 14:51:15 +02:00
{ inputs, config, pkgs, ... }:
2024-06-02 14:50:05 +02:00
{
programs.git = {
enable = true;
userName = "Thomas Avé";
userEmail = "email@thomasave.be";
aliases = {
s = "status";
a = "add";
};
extraConfig = {
credentials.helper = "store";
pull.rebase = false;
push.autoSetupRemove = true;
init.defaultBranch = "master";
diff.noprefix = true;
color.ui = "auto";
core = {
excludesfile = "~/.gitignore";
editor = "${pkgs.neovim}/bin/nvim";
};
};
};
}