mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
31 lines
575 B
Nix
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"
|
|
'';
|
|
};
|
|
};
|
|
}
|