dotfiles/home/features/cli/git.nix
2023-08-04 09:59:36 -05:00

16 lines
No EOL
409 B
Nix

{ lib, ... }: {
programs.git = {
enable = lib.mkDefault true;
delta.enable = true;
aliases = {
graph = "log --decorate --oneline --graph";
fast-forward = "merge --ff-only";
};
userEmail = lib.concatStringsSep "" ["john@bo" "wdre.net"];
userName = lib.mkDefault "John Bowdre";
extraConfig = {
init.defaultBranch = "main";
pull.rebase = false;
};
};
}