added tmux config

This commit is contained in:
Jakub Kropáček 2024-09-25 21:39:12 +02:00
parent bdb74fcf70
commit 16ee2b7526
2 changed files with 20 additions and 0 deletions

View file

@ -28,6 +28,7 @@ in
[
openssl_3_3
dig
wl-clipboard
]
++ lib.optionals cfg.install-editors [
pkgs.lazygit

View file

@ -226,6 +226,25 @@
};
};
programs.tmux = {
enable = true;
mouse = true;
plugins = with pkgs.tmuxPlugins; [
yank
sensible
];
extraConfig = ''
# Move status bar to top
set -g status-position top
# Indexing from 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
'';
};
programs.git = {
enable = true;
userName = "Jakub Kropáček";