From 3ee0f64c207c1dabc6d6f839780a183a993be92a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 13 Feb 2026 12:44:32 +0100 Subject: [PATCH] feat(nix): add tmux.conf with mouse scrolling enabled Co-Authored-By: Claude Opus 4.6 --- modules/home/cli-apps/tmux/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/home/cli-apps/tmux/default.nix b/modules/home/cli-apps/tmux/default.nix index 82ba6ba..a0fc588 100644 --- a/modules/home/cli-apps/tmux/default.nix +++ b/modules/home/cli-apps/tmux/default.nix @@ -14,5 +14,10 @@ in enable = mkEnableOption "Tmux"; }; - config = mkIf cfg.enable { home.packages = with pkgs; [ tmux ]; }; + config = mkIf cfg.enable { + home.packages = with pkgs; [ tmux ]; + home.file.".tmux.conf".text = '' + set -g mouse on + ''; + }; }