{ pkgs, ... }: { programs.tmux = { enable = true; clock24 = true; keyMode = "vi"; terminal = "xterm-256color"; plugins = with pkgs.tmuxPlugins; [ better-mouse-mode sensible sidebar { plugin = sysstat; extraConfig = '' set -g status-right "#{sysstat_cpu} | #{sysstat_mem} | #{sysstat_swap} | #{sysstat_loadavg} | #[fg=cyan]#(echo $USER)#[default]@#H" ''; } { plugin = battery; extraConfig = '' set-option -g status-right "#{battery}" ''; } # { # plugin = weather; # extraConfig = '' # set-option -g @tmux-weather-location "Kyoto" # set-option -g status-right "#{weather}" # ''; # } ]; }; }