From 667e476ccfdd9fee3b2bdf3c70b9e9b0746cef9f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 5 Oct 2024 10:32:11 -0700 Subject: enable tmux --- nix/profiles/home-manager/shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix index f06f257..1e5d4b9 100644 --- a/nix/profiles/home-manager/shell.nix +++ b/nix/profiles/home-manager/shell.nix @@ -33,6 +33,27 @@ self.packages.${pkgs.system}.git-broom ]; + 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 + ''; + }; + xdg = { configFile = { "aspell/config".text = '' -- cgit 1.4.1