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
680 B 27 lines
1{ self, ... }: 2{ 3 perSystem = 4 { pkgs, system, ... }: 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 tmuxConfigFile = pkgs.writeText "tmux.conf" tmuxConfigText; 13 in 14 { 15 packages.tmux = 16 (self.libWithPkgs.${system}.makeWrapper pkgs.tmux { 17 flags = { 18 "-f" = tmuxConfigFile; 19 }; 20 }).overrideAttrs 21 (old: { 22 passthru = (old.passthru or { }) // { 23 tmuxConfig = tmuxConfigText; 24 }; 25 }); 26 }; 27}