mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-30 04:32:18 +00:00
16 lines
No EOL
394 B
Nix
16 lines
No EOL
394 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.mkDefault "john@bowdre.net";
|
|
userName = lib.mkDefault "John Bowdre";
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
pull.rebase = false;
|
|
};
|
|
};
|
|
} |