aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/lazygit/default.nix
blob: 1bde99c67eef0b645bac0080b4393e5f7ce85f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
          scrollPastBottom = true;
          mouseEvents = true;
        };
        update.method = "never";
      };
    };
  };
}