nixos/home/git/default.nix
Evie Litherland-Smith ba9411fb9f Split some expressions out of home/default.nix, clean up
Move git, starship and btm expressions to own files

Move account dir expressions up a level, remove accounts dir

Clean up some unused expressions (like qutebrowser and firefox)
2024-02-04 07:14:04 +00:00

30 lines
647 B
Nix

{
config,
lib,
...
}: {
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";
};
};
}