Nix flake configuration for my various machines (clients and homelab servers)
0

Configure Feed

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

tmux: continuum statusline and persistence, follow pane on @

Parthiv Krishna (Jun 22, 2026, 11:58 PM -0700) 6ca71036 f780dd27

+11 -7
+11 -7
modules/features/apps/tmux.nix
··· 24 24 plugins = with pkgs.tmuxPlugins; [ 25 25 fuzzback 26 26 resurrect 27 + sensible 28 + sessionist 29 + sidebar 30 + urlview 31 + vim-tmux-navigator 27 32 { 28 33 plugin = continuum; 29 34 extraConfig = '' 30 35 set -g @continuum-save-interval '15' 36 + set -g status-right 'continuum: #{continuum_status} | %H:%M %d-%b-%y' 31 37 ''; 32 38 } 33 - sensible 34 - sessionist 35 - sidebar 36 - urlview 37 - vim-tmux-navigator 38 39 ]; 39 40 40 41 extraConfig = with config.colorScheme.palette; '' ··· 46 47 unbind-key \" 47 48 48 49 bind ! break-pane 49 - bind @ set -gqF @move_pane_source "#{pane_id}" \; display-menu -T "Move pane" "Existing window" w "choose-tree -w 'join-pane -s \"#{@move_pane_source}\" -t \"%%\"'" "New session" s "command-prompt -p 'new session name' 'new-session -d -s \"%1\" \; join-pane -s \"#{@move_pane_source}\" -t \"%1:\" \; kill-pane -a -t \"#{@move_pane_source}\" \; switch-client -t \"%1\"'" 50 + bind @ set -gqF @move_pane_source "#{pane_id}" \; display-menu -T "Move pane" "Existing window" w "choose-tree -w 'join-pane -s \"#{@move_pane_source}\" -t \"%1\" \; switch-client -t \"#{@move_pane_source}\"'" "New session" s "command-prompt -p 'new session name' 'new-session -d -s \"%1\" \; join-pane -s \"#{@move_pane_source}\" -t \"%1:\" \; kill-pane -a -t \"#{@move_pane_source}\" \; switch-client -t \"#{@move_pane_source}\"'" 50 51 bind D attach-session -c "#{pane_current_path}" 51 52 bind / run-shell -b ${pkgs.tmuxPlugins.fuzzback}/share/tmux-plugins/fuzzback/scripts/fuzzback.sh 52 53 bind ? list-keys -N ··· 75 76 set-option -g status-style "fg=#${base05},bg=#${base00}" 76 77 set-option -g status-left-style "fg=#${base0B},bg=#${base01}" 77 78 set-option -g status-right-style "fg=#${base05},bg=#${base01}" 78 - set-option -g status-right "#{continuum_status} %H:%M %d-%b-%y" 79 79 80 80 # window status colors 81 81 set-window-option -g window-status-style "fg=#${base05},bg=#${base00}" ··· 97 97 set -g default-terminal "screen-256color" 98 98 ''; 99 99 }; 100 + 101 + custom.features.meta.impermanence.directories = [ 102 + ".tmux/resurrect" 103 + ]; 100 104 }; 101 105 }