2023-07-24 13:27:05 +01:00
|
|
|
{tokyonight, ...}: {
|
|
|
|
xdg.configFile."git/tokyonight_night.gitconfig".source = "${tokyonight}/extras/delta/tokyonight_night.gitconfig";
|
2023-04-23 14:46:59 +01:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Evie Litherland-Smith";
|
2023-07-03 16:09:48 +01:00
|
|
|
includes = [{path = "tokyonight_night.gitconfig";}];
|
2023-04-25 16:27:54 +01:00
|
|
|
delta = {
|
|
|
|
enable = true;
|
2023-05-28 15:12:46 +01:00
|
|
|
options = {
|
|
|
|
blame-code-style = "syntax";
|
|
|
|
line-numbers = true;
|
|
|
|
navigate = true;
|
|
|
|
side-by-side = true;
|
|
|
|
syntax-theme = "tokyonight";
|
|
|
|
zero-style = "dim syntax";
|
|
|
|
};
|
2023-04-25 16:27:54 +01:00
|
|
|
};
|
2023-04-23 14:46:59 +01:00
|
|
|
extraConfig = {
|
2023-04-26 16:12:22 +01:00
|
|
|
pull.rebase = false;
|
|
|
|
init.defaultBranch = "main";
|
2023-05-28 19:18:03 +01:00
|
|
|
credential.helper = "store";
|
2023-04-23 14:46:59 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|