diff options
Diffstat (limited to 'users')
| -rw-r--r-- | users/profiles/mac.nix | 1 | ||||
| -rw-r--r-- | users/programs/tmux.nix | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/users/profiles/mac.nix b/users/profiles/mac.nix index 8c281ac..f001f99 100644 --- a/users/profiles/mac.nix +++ b/users/profiles/mac.nix @@ -14,6 +14,7 @@ "${self}/users/programs/go.nix" "${self}/users/programs/ssh.nix" "${self}/users/programs/starship.nix" + "${self}/users/programs/tmux.nix" ./llm.nix ./secrets.nix ]; 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 + ''; + }; +} |
