Properly enable zsh system-wide when enabled

This commit is contained in:
Joshua Yuen 2026-01-21 20:21:59 -05:00
parent 043c21cc8b
commit ea68d18f48
Signed by: josh
GPG Key ID: 502720BC22ED411C
2 changed files with 15 additions and 0 deletions

View File

@ -17,5 +17,6 @@
./stylix.nix
./system.nix
./user.nix
./zsh.nix
];
}

14
modules/core/zsh.nix Normal file
View File

@ -0,0 +1,14 @@
{
config,
lib,
...
}:
with lib;
let
zshCfg = config.modules.zsh;
in
{
config = mkIf zshCfg.enable {
programs.zsh.enable = true;
};
}