blob: b122c871ea4719abbd174018e4ef1302bd6673c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Terminal multiplexer
{
config,
lib,
pkgs,
...
}:
let
cfg = config.terminal.tmux;
in
{
options.terminal.tmux = {
enable = lib.mkEnableOption "Enables tmux.";
package = lib.mkOption {
type = lib.types.package;
readOnly = true;
default = config.programs.tmux.package;
description = "The tmux package to use.";
};
};
config = lib.mkIf cfg.enable {
programs.tmux = {
enable = true;
};
};
}
|