fix(zellij): configure even if disabled
All checks were successful
/ check-fmt (push) Successful in 3s
/ build-package (audiomenu) (push) Successful in 1s
/ build-package (docs) (push) Successful in 1s
/ build-package (docs-home-markdown) (push) Successful in 1s
/ build-package (docs-nixos-markdown) (push) Successful in 1s
/ build-package (docs-nvim-markdown) (push) Successful in 1s
/ build-package (jpassmenu) (push) Successful in 1s
/ build-package (nvim) (push) Successful in 1s
/ build-package (nvim-headless) (push) Successful in 1s
/ build-package (nvim-no-lsps) (push) Successful in 1s
/ build-package (nvim-no-ts) (push) Successful in 1s
/ build-package (nvim-small) (push) Successful in 1s
/ build-package (search) (push) Successful in 1s
/ check-nvim (nvim) (push) Successful in 1s
/ check-nvim (nvim-headless) (push) Successful in 1s
/ check-nvim (nvim-no-lsps) (push) Successful in 1s
/ check-nvim (nvim-no-ts) (push) Successful in 1s
/ check-nvim (nvim-small) (push) Successful in 1s
/ build-vm (push) Successful in 1s
/ build-hm (push) Successful in 1s
/ report-size (push) Successful in 6s

This allows us to use the configuration without having to enable all the
gui apps.
This commit is contained in:
Jalil David Salamé Messina 2025-07-17 09:41:09 +02:00
parent fc82a403f9
commit 07e4f3c1b0
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 15 additions and 14 deletions

View file

@ -172,6 +172,19 @@ in
'';
};
};
# configure zellij without enabling it
zellij.settings = {
show_startup_tips = false; # disable the startup tips dialogue
# Set default shell
default_shell =
if config.programs.fish.enable then
"fish"
else if config.programs.zsh.enable then
"zsh"
else
"bash";
};
};
}
];

View file

@ -169,20 +169,8 @@ in
};
};
};
zellij = {
enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
# Set default shell
settings = {
show_startup_tips = false; # disable the startup tips dialogue
default_shell =
if config.programs.fish.enable then
"fish"
else if config.programs.zsh.enable then
"zsh"
else
"bash";
};
};
# alacritty has no terminal multiplexer built-in use zellij
zellij.enable = cfg.terminal == "alacritty";
# PDF reader
zathura.enable = true;
# Auto start sway