diff --git a/.sops.yaml b/.sops.yaml index acbfaaac..d786b12a 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -3,7 +3,7 @@ keys: - &host_nixos-framework aaec681e4fb9dcdd15d0d367a86615d17653d819 - &host_framework-server dfd3a496aba156fa521e82ada77d68dc727cf52b - &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa - - &host_milan-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa + - &host_milan-linode-01 264f9137377eda3b95c82c86cebd6d17984b8d4e - &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818 - &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e - &host_quitman-rpi4 7184f4fb827fbacf3d4100c24eb80976cfdd8975 diff --git a/home-manager/common/software/cli/tmux.nix b/home-manager/common/software/cli/tmux.nix index 904ff765..33caf78b 100644 --- a/home-manager/common/software/cli/tmux.nix +++ b/home-manager/common/software/cli/tmux.nix @@ -1,23 +1,32 @@ { pkgs, ... }: { programs.tmux = { enable = true; - mouse = true; - tmuxinator.enable = true; - tmuxp.enable = true; clock24 = true; keyMode = "vi"; terminal = "xterm-256color"; plugins = with pkgs.tmuxPlugins; [ better-mouse-mode - weather sensible sidebar - sysstat - catppuccin - battery + { + 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}" +# ''; +# } ]; - extraConfig = '' - set-option -g status-right "#{weather}" - ''; }; }