nixos/modules/base/git.nix

22 lines
415 B
Nix
Raw Normal View History

2023-08-01 15:35:09 +02:00
{ home-manager, ... }: {
home-manager.users.caspervk = {
programs.git = {
enable = true;
userName = "Casper V. Kristensen";
userEmail = "casper@vkristensen.dk";
delta = {
enable = true;
};
extraConfig = {
init.defaultBranch = "master";
pull.rebase = true;
rebase.autoSquash = true;
rebase.autoStash = true;
};
};
};
}