aboutsummaryrefslogtreecommitdiffstats
path: root/modules/terminal/tmux/default.nix
blob: fdee9ffce168350013fc32c5b570685d635530ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  config,
  lib,
  pkgs,
  ...
}:

# Tmux - Terminal multiplexer (window/pane management)
{
  options.terminal.tmux = {
    enable = lib.mkEnableOption "Enables tmux.";
    package = lib.mkPackageOption pkgs "tmux" { };
  };

  config = lib.mkIf config.terminal.tmux.enable {
    programs.tmux = {
      enable = true;
      package = config.terminal.tmux.package;
    };
  };
}