From 07e4f3c1b0cc8c691ccfef54f8d7f91aab4eba06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Thu, 17 Jul 2025 09:41:09 +0200 Subject: [PATCH] fix(zellij): configure even if disabled This allows us to use the configuration without having to enable all the gui apps. --- modules/hm/dev.nix | 13 +++++++++++++ modules/hm/gui/default.nix | 16 ++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/modules/hm/dev.nix b/modules/hm/dev.nix index afa3899..91f94c9 100644 --- a/modules/hm/dev.nix +++ b/modules/hm/dev.nix @@ -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"; + }; }; } ]; diff --git a/modules/hm/gui/default.nix b/modules/hm/gui/default.nix index 8c40e5a..26a756c 100644 --- a/modules/hm/gui/default.nix +++ b/modules/hm/gui/default.nix @@ -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