mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
made tmux config global
This commit is contained in:
parent
06eff6014c
commit
f90ba1151a
7 changed files with 9 additions and 12 deletions
|
@ -7,6 +7,7 @@
|
|||
./gpg.nix
|
||||
./sops.nix
|
||||
./vim.nix
|
||||
./tmux.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
23
shared/tmux.nix
Normal file
23
shared/tmux.nix
Normal 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
|
||||
];
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue