mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
24 lines
571 B
Nix
24 lines
571 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
programs.tmux = {
|
|
enable = true;
|
|
keyMode = "vi";
|
|
terminal = "tmux-256color";
|
|
clock24 = true;
|
|
extraConfig =
|
|
''
|
|
set -g default-shell ${lib.getExe pkgs.zsh}
|
|
bind P display-popup
|
|
set -sg escape-time 10
|
|
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
|
|
'';
|
|
plugins = with pkgs.tmuxPlugins; [
|
|
tmux-fzf
|
|
];
|
|
};
|
|
|
|
}
|