diff --git a/groups/cryos/programs.nix b/groups/cryos/programs.nix index 9f507e3..49fc8f8 100644 --- a/groups/cryos/programs.nix +++ b/groups/cryos/programs.nix @@ -78,7 +78,6 @@ btop eza yazi - lazygit ripgrep viddy # modern `watch` command timg # terminal image (sixel) viewer diff --git a/homes/modules/git.nix b/homes/modules/git.nix index b6e7c7c..c0c60a5 100755 --- a/homes/modules/git.nix +++ b/homes/modules/git.nix @@ -87,5 +87,36 @@ ]; }; + lazygit = { + enable = true; + enableFishIntegration = true; + enableZshIntegration = true; + + shellWrapperName = "lg"; + + settings = { + gui = { + useHunkModeInStagingView = false; + + skipDiscardChangeWarning = false; + skipStashWarning = true; + + animateExplosion = true; # FUCK YEAHHHHHHHHHHHHHHHHHHHHHHHHH + + theme = { + lightTheme = false; + activeBorderColor = ["green" "bold"]; + inactiveBorderColor = ["white"]; + selectedLineBgColor = ["default"]; + }; + }; + + git.pagers = [ + { + pager = "delta --dark --pager=never"; + } + ]; + }; + }; }; }