nix-conf/modules/home-manager/tmux/default.nix
2024-04-11 18:08:55 +05:30

31 lines
575 B
Nix

{
config,
lib,
pkgs,
...
}: {
options = {
tmux.enable = lib.mkEnableOption "enable tmux";
};
config = lib.mkIf config.tmux.enable {
programs.tmux = {
enable = true;
mouse = true;
plugins = with pkgs.tmuxPlugins; [
better-mouse-mode
#dracula
#gruvbox
#nord
#onedark-theme
#power-theme
resurrect
#tmux-colors-solarized
tmux-fzf
];
extraConfig = ''
set-option -g mouse on
set -g default-terminal "screen-256color"
'';
};
};
}