From e1cd081e454e41f591b4b08c15cdf40b35ce556b Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Thu, 12 Mar 2026 22:09:18 -0400 Subject: [PATCH] feat(terminal): replace zellij with tmux as terminal multiplexer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch from zellij to tmux for terminal multiplexing with mouse support, improved window numbering, and 256-color terminal configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- home.nix | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/home.nix b/home.nix index f90a7ca..082ee79 100644 --- a/home.nix +++ b/home.nix @@ -81,9 +81,9 @@ if [ -n "$NIX_PROJECT_SHELL" ]; then PROMPT="($NIX_PROJECT_SHELL)$PROMPT" fi - # Only start Zellij if we're in an interactive terminal - if [ -z "$ZELLIJ" ] && [ "$TERM" != "linux" ]; then - exec zellij + # Only start tmux if we're in an interactive terminal + if [ -z "$TMUX" ] && [ "$TERM" != "linux" ]; then + exec tmux fi ''; @@ -111,16 +111,21 @@ }; }; - # Enable zellij (terminal multiplexing) - programs.zellij = { + # Enable tmux (terminal multiplexing) + programs.tmux = { enable = true; - # Optional: write your own config to ~/.config/zellij/config.kdl - settings = { - theme = "default"; - pane_frames = true; - default_layout = "compact"; - }; + # Optional: customize tmux settings + extraConfig = '' + # Enable mouse support + set -g mouse on + + # Start window numbering at 1 + set -g base-index 1 + + # Set terminal colors + set -g default-terminal "screen-256color" + ''; }; # Neovim management - using kickstart.nvim via flake