1
0
Fork 0
nix-configuration/modules/apps/tmux.nix

22 lines
408 B
Nix
Raw Normal View History

2024-08-02 17:55:48 -04:00
{ config, lib, ... }:
2024-05-06 00:05:14 -04:00
let
cfg = config.aux.system.apps.tmux;
2024-05-06 00:05:14 -04:00
in
{
options = {
2024-08-02 17:55:48 -04:00
aux.system.apps.tmux.enable = lib.mkEnableOption "Enables tmux - terminal multiplexer";
};
2024-05-06 00:05:14 -04:00
2024-08-02 17:55:48 -04:00
config = lib.mkIf cfg.enable {
programs.tmux = {
enable = true;
newSession = true;
clock24 = true;
2024-06-11 12:24:27 -04:00
extraConfig = ''
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
'';
};
};
}