diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-28 07:54:13 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-28 07:54:13 -0700 |
| commit | 9dce275ab9c7dfe73c508f52fc2b3801c4c1bf0b (patch) | |
| tree | b5f7438f8509eee91a6504bcec0c0d7b1739b612 /users/programs | |
| parent | add MOTD for servers (diff) | |
| download | infra-9dce275ab9c7dfe73c508f52fc2b3801c4c1bf0b.tar.gz | |
enable tmux
Diffstat (limited to 'users/programs')
| -rw-r--r-- | users/programs/tmux.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/programs/tmux.nix b/users/programs/tmux.nix new file mode 100644 index 0000000..9b84f5c --- /dev/null +++ b/users/programs/tmux.nix @@ -0,0 +1,21 @@ +{ pkgs, ... }: +{ + programs.tmux = { + enable = true; + terminal = "xterm-256color"; + escapeTime = 0; + aggressiveResize = true; + baseIndex = 1; + shortcut = "z"; + clock24 = true; + shell = "${pkgs.fish}/bin/fish"; + historyLimit = 50000; # Bigger buffer + extraConfig = '' + setw -g mouse on + # Avoid date/time taking up space + set -g status-right "" + set -g status-right-length 0 + set-option -g renumber-windows on + ''; + }; +} |
