2024-02-04 07:14:04 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2024-02-10 07:57:35 +00:00
|
|
|
services.git-sync.enable = false; # Can't find pass for some reason...
|
2024-02-04 07:14:04 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Evie Litherland-Smith";
|
|
|
|
userEmail = lib.mkDefault "evie@xenia.me.uk";
|
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
line-numbers = true;
|
|
|
|
hyprlinks = true;
|
|
|
|
navigate = true;
|
|
|
|
side-by-side = true;
|
|
|
|
syntax-theme = with config.programs; lib.mkIf bat.enable bat.config.theme;
|
|
|
|
};
|
|
|
|
};
|
2024-03-08 06:50:40 +00:00
|
|
|
extraConfig = let
|
|
|
|
user = "pixelifytica";
|
|
|
|
in {
|
|
|
|
github = {inherit user;};
|
|
|
|
gitea = {inherit user;};
|
2024-02-04 07:14:04 +00:00
|
|
|
pull.rebase = false;
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
merge.conflictstyle = "diff3";
|
|
|
|
diff.colorMoved = "default";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|