1{ pkgs, ... }:
2{
3 programs.tmux = {
4 enable = true;
5 newSession = true;
6 keyMode = "vi";
7 escapeTime = 0; # why
8 terminal = "tmux-direct";
9 historyLimit = 10000;
10
11 # Rationale: being able to keep sessions open is more important than
12 # security at this point, as I have a very unstable connection and
13 # things may explode any minute.
14 # If I manage to find a way to persist tmux sockets across logouts
15 # without this I would definitely turn this back on.
16 secureSocket = false;
17
18 plugins = with pkgs.tmuxPlugins; [
19 power-theme
20 ];
21 };
22}