From 9dce275ab9c7dfe73c508f52fc2b3801c4c1bf0b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 28 Jul 2025 07:54:13 -0700 Subject: enable tmux --- users/profiles/mac.nix | 1 + users/programs/tmux.nix | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 users/programs/tmux.nix 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 + ''; + }; +} -- cgit v1.2.3