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