script: added script to create tmux workspace tmux-config: sets dynamic variable defaultshell to tmux
20 lines
399 B
Nix
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'";
|
|
}
|
|
];
|
|
};
|
|
}
|