refactor module system

This commit is contained in:
2026-11-08 15:22:26 +01:00
parent d4ef8af473
commit c5bb5cc965
40 changed files with 30 additions and 35 deletions
+49
View File
@@ -0,0 +1,49 @@
{ pkgs, ... }:
{
programs.tmux = {
enable = true;
prefix = "C-b";
terminal = "tmux-256color";
baseIndex = 0;
mouse = false;
keyMode = "vi";
plugins = with pkgs.tmuxPlugins; [
sensible
vim-tmux-navigator
resurrect
continuum
{
plugin = tmux-sessionx;
extraConfig = ''
set -g @sessionx-bind 'o'
'';
}
];
extraConfig = ''
set-option -ga terminal-overrides ",xterm-256color:Tc"
unbind r
bind r source-file ~/.tmux.conf
set-option -g status-style bg=default
set -g status-position bottom
set -g status-justify "absolute-centre"
set-option -g window-status-current-style fg=yellow
set-option -g window-status-style fg=brightwhite
set -wg automatic-rename on
set -g automatic-rename-format "#{pane_current_command}"
set -g @resurrect-capture-pane-contents "on"
set -g @continuum-restore "on"
'';
};
}