2023-09-07 08:48:42 +01:00
|
|
|
{ lib, pkgs, catppuccin-themes, ... }: {
|
|
|
|
imports = [ ../tui/bat.nix ];
|
|
|
|
programs = {
|
|
|
|
git = {
|
2023-04-25 16:27:54 +01:00
|
|
|
enable = true;
|
2023-09-07 08:48:42 +01:00
|
|
|
package = pkgs.gitFull;
|
|
|
|
userName = "Evie Litherland-Smith";
|
|
|
|
userEmail = lib.mkDefault "evie@xenia.me.uk";
|
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
blame-code-style = "syntax";
|
|
|
|
line-numbers = true;
|
|
|
|
navigate = true;
|
|
|
|
side-by-side = true;
|
|
|
|
syntax-theme = "Catppuccin";
|
|
|
|
zero-style = "dim syntax";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
extraConfig = {
|
|
|
|
pull.rebase = false;
|
|
|
|
init.defaultBranch = "main";
|
2023-05-28 15:12:46 +01:00
|
|
|
};
|
2023-04-25 16:27:54 +01:00
|
|
|
};
|
2023-09-07 08:48:42 +01:00
|
|
|
gitui = {
|
|
|
|
enable = true;
|
|
|
|
theme = builtins.readFile catppuccin-themes.gitui;
|
2023-04-23 14:46:59 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|