34 lines
892 B
Nix
34 lines
892 B
Nix
{pkgs, ...}: {
|
|
imports = [../env/bat.nix];
|
|
xdg.configFile."git/tokyonight_storm.gitconfig".source =
|
|
pkgs.fetchFromGitHub
|
|
{
|
|
owner = "folke";
|
|
repo = "tokyonight.nvim";
|
|
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
|
|
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
|
|
}
|
|
+ "/extras/delta/tokyonight_storm.gitconfig";
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Evie Litherland-Smith";
|
|
includes = [{path = "tokyonight_storm.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";
|
|
};
|
|
};
|
|
}
|