Evie Litherland-Smith
e2c9d8eba7
nvim repo has been converted to flake for easier inclusion but still stand-alone for non-nix systems Move tokyonight repo fetch to flake input to keep consistent and reduce multiple fetch calls
25 lines
664 B
Nix
25 lines
664 B
Nix
{tokyonight, ...}: {
|
|
xdg.configFile."git/tokyonight_night.gitconfig".source = "${tokyonight}/extras/delta/tokyonight_night.gitconfig";
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Evie Litherland-Smith";
|
|
includes = [{path = "tokyonight_night.gitconfig";}];
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
blame-code-style = "syntax";
|
|
line-numbers = true;
|
|
navigate = true;
|
|
side-by-side = true;
|
|
syntax-theme = "tokyonight";
|
|
zero-style = "dim syntax";
|
|
};
|
|
};
|
|
extraConfig = {
|
|
pull.rebase = false;
|
|
init.defaultBranch = "main";
|
|
credential.helper = "store";
|
|
};
|
|
};
|
|
}
|