diff options
Diffstat (limited to 'modules/development/lazygit')
| -rw-r--r-- | modules/development/lazygit/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix new file mode 100644 index 0000000..cf46e9a --- /dev/null +++ b/modules/development/lazygit/default.nix @@ -0,0 +1,33 @@ +{ config, lib, ... }: + +# Lazygit - A simple terminal UI for git commands +{ + config = lib.mkIf config.programs.lazygit.enable { + programs.lazygit = { + enableBashIntegration = config.programs.bash.enable; + enableFishIntegration = config.programs.fish.enable; + enableNushellIntegration = config.programs.nushell.enable; + enableZshIntegration = config.programs.zsh.enable; + + settings = { + gui = { + theme = { + lightTheme = false; + }; + showIcons = true; + scrollHeight = 2; + nerdFontsVersion = "3"; + scrollPastBottom = true; + mouseEvents = true; + border = "single"; + }; + git = { + log.showWholeGraph = true; + branchLogCmd = "git log-graph-embed"; + overrideGpg = true; + }; + update.method = "never"; + }; + }; + }; +} |
