feat(shell): add tmux

This commit is contained in:
Michael Mandl 2025-06-18 09:01:51 +02:00
parent 32e96d011a
commit 9d43b837ff
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
3 changed files with 33 additions and 2 deletions

28
shell/tmux.nix Normal file
View file

@ -0,0 +1,28 @@
{pkgs, ...}: {
programs = {
tmux = {
enable = true;
clock24 = true;
keyMode = "vi";
escapeTime = 0;
plugins = with pkgs.tmuxPlugins; [
tmux-colors-solarized
vim-tmux-navigator
{
plugin = power-theme;
extraConfig = ''
set -g @tmux_power_theme "colour4"
'';
}
];
terminal = "xterm-256color";
extraConfig = ''
# Terminal overrides
set-option -sa terminal-overrides ",xterm-256color:Tc"
# Reload tmux config to ensure theme is applied
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded!"
'';
};
};
}