Evie Litherland-Smith
b102f9e209
Reduce complexity and in flake.nix and be more efficient in re-using things Removed some reduandant files in home/ and tidied up the structure somewhat Moved things from desktop, gui, etc... to top level Changed env to shell, indiv shell expressions import relevant others
33 lines
862 B
Nix
33 lines
862 B
Nix
{pkgs, ...}: {
|
|
xdg.configFile."git/tokyonight_night.gitconfig".source =
|
|
pkgs.fetchFromGitHub
|
|
{
|
|
owner = "folke";
|
|
repo = "tokyonight.nvim";
|
|
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
|
|
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
|
|
}
|
|
+ "/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";
|
|
};
|
|
};
|
|
}
|