This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / tmux / flake-module.nix
880 B 34 lines
1{ self, ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 let 6 tmuxConfigText = '' 7 set-option -g default-terminal screen-256color 8 9 # Auto-destroy sessions when no clients attached (handles terminal close) 10 set -g destroy-unattached on 11 12 # Enable kitty graphics protocol passthrough 13 set -g allow-passthrough on 14 set -ga update-environment TERM 15 set -ga update-environment TERM_PROGRAM 16 ''; 17 tmuxConfigFile = pkgs.writeText "tmux.conf" tmuxConfigText; 18 in 19 { 20 packages.tmux = 21 (self.wrapLib.makeWrapper { 22 pkgs = pkgs; 23 package = pkgs.tmux; 24 flags = { 25 "-f" = tmuxConfigFile; 26 }; 27 }).overrideAttrs 28 (old: { 29 passthru = (old.passthru or { }) // { 30 tmuxConfig = tmuxConfigText; 31 }; 32 }); 33 }; 34}