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

27 lines
539 B
Nix
Raw Normal View History

2022-12-19 19:30:32 +01:00
{ config, pkgs, ... }:
{
programs.tmux = {
enable = true;
keyMode = "vi";
terminal = "tmux-256color";
clock24 = true;
extraConfig =
''
2023-01-02 18:06:52 +01:00
set -g default-shell ${pkgs.zsh}/bin/zsh
2022-12-19 19:30:32 +01:00
bind P display-popup
'';
plugins = with pkgs.tmuxPlugins; [
{
plugin = dracula;
extraConfig = ''
2023-04-24 15:15:01 +02:00
set -g @dracula-plugins "git time"
2022-12-19 19:30:32 +01:00
set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true
'';
}
2023-01-01 17:31:10 +01:00
tmux-fzf
2022-12-19 19:30:32 +01:00
];
};
}