fix: do not auto start tmux on boot

This commit is contained in:
Ryan Yin
2023-07-17 16:24:06 +08:00
parent 7b482f8cfa
commit d12e3b979a

View File

@@ -6,6 +6,7 @@ in
{
programs.tmux = {
enable = true;
shell = "${pkgs.nushell}/bin/nu";
# Resize the window to the size of the smallest session for which it is the current window.
#
@@ -27,10 +28,8 @@ in
{
# https://github.com/tmux-plugins/tmux-continuum
# Continuous saving of tmux environment. Automatic restore when tmux is started.
# Automatic tmux start when computer is turned on.
plugin = continuum;
extraConfig = ''
set -g @continuum-boot 'on'
set -g @continuum-save-interval '15'
# Option to display current status of tmux continuum in tmux status line.
@@ -61,4 +60,4 @@ in
}
];
};
}
}