nixcfg/homeManagerModules/apps/tmux/default.nix

29 lines
490 B
Nix
Raw Permalink Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
pkgs,
2024-04-07 22:16:33 -04:00
...
}: {
config = lib.mkIf config.ar.home.apps.tmux.enable {
2024-03-28 19:52:15 -04:00
programs.tmux = {
enable = true;
mouse = true;
newSession = true;
2024-07-10 23:43:51 -04:00
2024-03-28 19:52:15 -04:00
plugins = with pkgs; [
tmuxPlugins.battery
tmuxPlugins.better-mouse-mode
tmuxPlugins.cpu
tmuxPlugins.resurrect
tmuxPlugins.weather
];
2024-07-10 23:43:51 -04:00
2024-03-28 19:52:15 -04:00
terminal = "tmux-256color";
2024-07-10 23:43:51 -04:00
2024-03-28 19:52:15 -04:00
extraConfig = ''
set -g status-right '%I:%M %p '
2024-03-28 19:52:15 -04:00
'';
};
};
}