dotfiles/home/git/default.nix

30 lines
727 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
{
2024-09-13 10:46:49 +02:00
programs.git = {
enable = true;
userName = "Thomas Avé";
userEmail = "email@thomasave.be";
aliases = {
s = "status";
a = "add";
};
ignores = [
"*.direnv/"
];
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";
};
2025-01-02 15:55:52 +01:00
rerere.enabled = true;
2024-09-13 10:46:49 +02:00
};
2024-06-02 14:50:05 +02:00
};
}