nixos-config/shared/tmux.nix

24 lines
563 B
Nix
Raw Normal View History

2023-11-16 15:53:15 +01:00
{ pkgs, ... }:
2022-12-19 19:30:32 +01:00
{
programs.tmux = {
enable = true;
keyMode = "vi";
terminal = "tmux-256color";
clock24 = true;
extraConfig =
''
set -g default-shell ${pkgs.zsh}/bin/zsh
2022-12-19 19:30:32 +01:00
bind P display-popup
2023-04-28 16:53:51 +02:00
set -sg escape-time 10
2023-05-26 00:01:59 +02:00
set -g @dracula-plugins "git time"
set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true
run-shell ${pkgs.tmuxPlugins.dracula}/share/tmux-plugins/dracula/dracula.tmux
2022-12-19 19:30:32 +01:00
'';
plugins = with pkgs.tmuxPlugins; [
2023-01-01 17:31:10 +01:00
tmux-fzf
2022-12-19 19:30:32 +01:00
];
};
}