aboutsummaryrefslogtreecommitdiffstats
path: root/modules/terminal/tmux
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
commit23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch)
tree3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/terminal/tmux
parent01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff)
downloadhome-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz
home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip
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
Diffstat (limited to 'modules/terminal/tmux')
-rw-r--r--modules/terminal/tmux/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/terminal/tmux/default.nix b/modules/terminal/tmux/default.nix
index e2e76c9..fdee9ff 100644
--- a/modules/terminal/tmux/default.nix
+++ b/modules/terminal/tmux/default.nix
@@ -7,9 +7,15 @@
# Tmux - Terminal multiplexer (window/pane management)
{
- config = lib.mkIf config.programs.tmux.enable {
+ options.terminal.tmux = {
+ enable = lib.mkEnableOption "Enables tmux.";
+ package = lib.mkPackageOption pkgs "tmux" { };
+ };
+
+ config = lib.mkIf config.terminal.tmux.enable {
programs.tmux = {
- package = pkgs.tmux;
+ enable = true;
+ package = config.terminal.tmux.package;
};
};
}