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.
This commit is contained in:
Harald Hoyer 2026-02-13 12:56:10 +01:00
parent b3edb33057
commit 3633e3995c

View file

@ -11,11 +11,14 @@ let
in in
{ {
options.metacfg.cli-apps.tmux = { options.metacfg.cli-apps.tmux = {
enable = mkEnableOption "Tmux"; enable = mkOption {
type = types.bool;
default = true;
description = "Enable Tmux";
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ tmux ];
home.file.".tmux.conf".text = '' home.file.".tmux.conf".text = ''
set -g mouse on set -g mouse on
''; '';