From ea68d18f48f278eda51a7d6c8bf543cfb73d654e Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Wed, 21 Jan 2026 20:21:59 -0500 Subject: [PATCH] Properly enable zsh system-wide when enabled --- modules/core/default.nix | 1 + modules/core/zsh.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/core/zsh.nix diff --git a/modules/core/default.nix b/modules/core/default.nix index f108367..e9df2b8 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -17,5 +17,6 @@ ./stylix.nix ./system.nix ./user.nix + ./zsh.nix ]; } diff --git a/modules/core/zsh.nix b/modules/core/zsh.nix new file mode 100644 index 0000000..a9322fc --- /dev/null +++ b/modules/core/zsh.nix @@ -0,0 +1,14 @@ +{ + config, + lib, + ... +}: +with lib; +let + zshCfg = config.modules.zsh; +in +{ + config = mkIf zshCfg.enable { + programs.zsh.enable = true; + }; +} \ No newline at end of file