feat: tmux
This commit is contained in:
parent
fe2fa1a7e1
commit
4c7129247e
2 changed files with 29 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
../../modules/home-manager/alacritty.nix
|
||||
../../modules/home-manager/nextcloud.nix
|
||||
../../modules/home-manager/zsh.nix
|
||||
../../modules/home-manager/tmux.nix
|
||||
];
|
||||
home.username = "sprechtl";
|
||||
home.homeDirectory = "/home/sprechtl";
|
||||
|
|
|
|||
28
modules/home-manager/tmux.nix
Normal file
28
modules/home-manager/tmux.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
pkgs, ...
|
||||
}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
baseIndex = 1;
|
||||
disableConfirmationPrompt = true;
|
||||
newSession = true;
|
||||
mouse = true;
|
||||
secureSocket = true;
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
shortcut = "a";
|
||||
terminal = "screen-256color";
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
gruvbox
|
||||
sensible
|
||||
vim-tmux-navigator
|
||||
{
|
||||
plugin = resurrect;
|
||||
extraConfig = "set -g @ressurect-strategy-nvim 'session'";
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
set -as terminal-features ",xterm-256color:RGB"
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue