2023-05-28 15:12:46 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [../env/bat.nix];
|
2023-07-03 16:09:48 +01:00
|
|
|
xdg.configFile."git/tokyonight_night.gitconfig".source =
|
2023-05-28 15:12:46 +01:00
|
|
|
pkgs.fetchFromGitHub
|
|
|
|
{
|
|
|
|
owner = "folke";
|
|
|
|
repo = "tokyonight.nvim";
|
|
|
|
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
|
|
|
|
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
|
|
|
|
}
|
2023-07-03 16:09:48 +01:00
|
|
|
+ "/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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|