nixos-config/users/rouven/modules/tmux/default.nix

28 lines
570 B
Nix

{ config, pkgs, ... }:
{
programs.tmux = {
enable = true;
keyMode = "vi";
terminal = "tmux-256color";
clock24 = true;
extraConfig =
''
set -g default-shell ${pkgs.zsh}/bin/zsh
bind P display-popup
set -sg escape-time 10
'';
plugins = with pkgs.tmuxPlugins; [
{
plugin = dracula;
extraConfig = ''
set -g @dracula-plugins "git time"
set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true
'';
}
tmux-fzf
];
};
}