aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/lazygit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/lazygit/default.nix')
-rw-r--r--modules/development/lazygit/default.nix11
1 files changed, 8 insertions, 3 deletions
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 = {