nixos-config/modules/programs/git/default.nix

26 lines
506 B
Nix
Raw Normal View History

2021-07-29 20:21:51 +00:00
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.diff-so-fancy ];
home-manager.users.alexander.programs.git = {
enable = true;
userEmail = "papatutuwawa@polynom.me";
userName = "Alexander \"PapaTutuWawa\"";
extraConfig = {
init = {
defaultBranch = "master";
};
2021-08-02 19:49:48 +00:00
pull = {
rebase = true;
};
2021-07-29 20:21:51 +00:00
core = {
editor = "rvim";
filemode = "false";
pager = "diff-so-fancy | less --tabs=4 -RFX";
};
};
};
}