nixos-config/home-manager/stvnliu/programs/tmux.nix
Zhongheng Liu a2bf84b09e
feat: tmux configuration
script: added script to create tmux workspace
tmux-config: sets dynamic variable defaultshell to tmux
2024-12-07 19:23:58 +02:00

20 lines
399 B
Nix

{
pkgs,
config,
lib,
...
}: {
programs.tmux = {
enable = true;
shell = config.myShells.defaultShell;
terminal = "screen-256color"; # Fix for apps not recognising full color
mouse = true;
plugins = with pkgs; [
tmuxPlugins.cpu
{
plugin = tmuxPlugins.resurrect;
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
}
];
};
}