nixos/home/git/default.nix
Evie Litherland-Smith 118c9fd629 Disable git-sync service for now
I remember why I did this in the first place, git-sync can't find
pass (for git credential helper) for some reason
2024-02-10 07:57:35 +00:00

31 lines
720 B
Nix

{
config,
lib,
...
}: {
services.git-sync.enable = false; # Can't find pass for some reason...
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;
};
};
extraConfig = {
github.user = "elitherl";
gitea.user = "xenia";
pull.rebase = false;
init.defaultBranch = "main";
merge.conflictstyle = "diff3";
diff.colorMoved = "default";
};
};
}