aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/lazygit
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/lazygit')
-rw-r--r--modules/programs/lazygit/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/programs/lazygit/default.nix b/modules/programs/lazygit/default.nix
new file mode 100644
index 0000000..1bde99c
--- /dev/null
+++ b/modules/programs/lazygit/default.nix
@@ -0,0 +1,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";
+ };
+ };
+ };
+}