From 3633e3995c59c8e2cd685d3452f68450ed099b76 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 13 Feb 2026 12:56:10 +0100 Subject: [PATCH] feat(home-manager): enhance tmux configuration options - Replaced `mkEnableOption` with a more detailed boolean `mkOption` for `tmux` configuration. - Set a default value of `true` and added description for better clarity. - Simplifies `tmux` package handling by removing unnecessary declaration. --- modules/home/cli-apps/tmux/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/home/cli-apps/tmux/default.nix b/modules/home/cli-apps/tmux/default.nix index a0fc588..b08cdfd 100644 --- a/modules/home/cli-apps/tmux/default.nix +++ b/modules/home/cli-apps/tmux/default.nix @@ -11,11 +11,14 @@ let in { options.metacfg.cli-apps.tmux = { - enable = mkEnableOption "Tmux"; + enable = mkOption { + type = types.bool; + default = true; + description = "Enable Tmux"; + }; }; config = mkIf cfg.enable { - home.packages = with pkgs; [ tmux ]; home.file.".tmux.conf".text = '' set -g mouse on '';