2023-08-04 15:34:11 +00:00
|
|
|
{ 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 = {
|
2024-09-04 17:11:34 +00:00
|
|
|
gpg.format = "ssh";
|
2023-08-04 15:34:11 +00:00
|
|
|
init.defaultBranch = "main";
|
|
|
|
pull.rebase = false;
|
2024-09-04 17:11:34 +00:00
|
|
|
user.signingKey = "~/.ssh/id_ed25519.pub";
|
2023-08-04 15:34:11 +00:00
|
|
|
};
|
2023-07-29 02:09:22 +00:00
|
|
|
};
|
2023-08-04 15:34:11 +00:00
|
|
|
}
|