mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 18:12:18 +00:00
20 lines
No EOL
487 B
Nix
20 lines
No EOL
487 B
Nix
{ lib, ... }:
|
|
let
|
|
email = lib.concatStringsSep "" [ "john@bo" "wdre.net" ];
|
|
in
|
|
{
|
|
programs.git = {
|
|
enable = lib.mkDefault true;
|
|
delta.enable = true;
|
|
aliases = {
|
|
graph = "log --decorate --oneline --graph";
|
|
fast-forward = "merge --ff-only";
|
|
};
|
|
userEmail = lib.mkDefault email;
|
|
userName = lib.mkDefault "John Bowdre";
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
pull.rebase = false;
|
|
};
|
|
};
|
|
} |