mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 05:29:17 -05:00
29 lines
490 B
Nix
29 lines
490 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.tmux.enable {
|
|
programs.tmux = {
|
|
enable = true;
|
|
mouse = true;
|
|
newSession = true;
|
|
|
|
plugins = with pkgs; [
|
|
tmuxPlugins.battery
|
|
tmuxPlugins.better-mouse-mode
|
|
tmuxPlugins.cpu
|
|
tmuxPlugins.resurrect
|
|
tmuxPlugins.weather
|
|
];
|
|
|
|
terminal = "tmux-256color";
|
|
|
|
extraConfig = ''
|
|
set -g status-right '%I:%M %p '
|
|
'';
|
|
};
|
|
};
|
|
}
|