made tmux config global

This commit is contained in:
Rouven Seifert 2023-05-26 00:01:59 +02:00
parent 06eff6014c
commit f90ba1151a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 9 additions and 12 deletions

View file

@ -7,6 +7,7 @@
./gpg.nix
./sops.nix
./vim.nix
./tmux.nix
./zsh.nix
];
}

23
shared/tmux.nix Normal file
View file

@ -0,0 +1,23 @@
{ 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
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
];
};
}