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

22 lines
408 B
Nix

{ config, lib, ... }:
let
cfg = config.aux.system.apps.tmux;
in
{
options = {
aux.system.apps.tmux.enable = lib.mkEnableOption "Enables tmux - terminal multiplexer";
};
config = lib.mkIf cfg.enable {
programs.tmux = {
enable = true;
newSession = true;
clock24 = true;
extraConfig = ''
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
'';
};
};
}