nixos/modules/nixos/zsh.nix

15 lines
149 B
Nix

{
config,
lib,
...
}:
with lib;
let
zshCfg = config.modules.zsh;
in
{
config = mkIf zshCfg.enable {
programs.zsh.enable = true;
};
}