mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-12 15:42:39 +02:00
fix: do not auto start tmux on boot
This commit is contained in:
@@ -6,6 +6,7 @@ in
|
|||||||
{
|
{
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
shell = "${pkgs.nushell}/bin/nu";
|
||||||
|
|
||||||
# Resize the window to the size of the smallest session for which it is the current window.
|
# 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
|
# https://github.com/tmux-plugins/tmux-continuum
|
||||||
# Continuous saving of tmux environment. Automatic restore when tmux is started.
|
# Continuous saving of tmux environment. Automatic restore when tmux is started.
|
||||||
# Automatic tmux start when computer is turned on.
|
|
||||||
plugin = continuum;
|
plugin = continuum;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g @continuum-boot 'on'
|
|
||||||
set -g @continuum-save-interval '15'
|
set -g @continuum-save-interval '15'
|
||||||
|
|
||||||
# Option to display current status of tmux continuum in tmux status line.
|
# Option to display current status of tmux continuum in tmux status line.
|
||||||
|
|||||||
Reference in New Issue
Block a user