nixos/modules/base/git.nix
Casper V. Kristensen 7536e3a2b1 Base
2023-08-01 15:35:59 +02:00

22 lines
415 B
Nix

{ 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;
};
};
};
}