dotfiles/home/features/cli/git.nix

16 lines
409 B
Nix
Raw Normal View History

2023-07-29 02:09:22 +00:00
{ lib, ... }: {
programs.git = {
enable = lib.mkDefault true;
delta.enable = true;
aliases = {
graph = "log --decorate --oneline --graph";
fast-forward = "merge --ff-only";
};
2023-08-04 14:59:36 +00:00
userEmail = lib.concatStringsSep "" ["john@bo" "wdre.net"];
2023-07-29 02:09:22 +00:00
userName = lib.mkDefault "John Bowdre";
extraConfig = {
init.defaultBranch = "main";
pull.rebase = false;
};
};
}