From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: feat: renamed the options to reflect their changed directory stucture Renamed the options for the configurations based on the sub-module that they belong to --- modules/development/lazygit/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'modules/development/lazygit') diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index cf46e9a..2c920c2 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -2,12 +2,17 @@ # Lazygit - A simple terminal UI for git commands { - config = lib.mkIf config.programs.lazygit.enable { + options.development.lazygit = { + enable = lib.mkEnableOption "Enables lazygit."; + }; + + config = lib.mkIf config.development.lazygit.enable { programs.lazygit = { - enableBashIntegration = config.programs.bash.enable; + enable = true; + enableBashIntegration = config.terminal.bash.enable; enableFishIntegration = config.programs.fish.enable; enableNushellIntegration = config.programs.nushell.enable; - enableZshIntegration = config.programs.zsh.enable; + enableZshIntegration = config.terminal.zsh.enable; settings = { gui = { -- cgit v1.2.3