sneeuwvlok/_modules/system/shell/zsh.nix
2025-07-28 14:34:09 +02:00

15 lines
284 B
Nix

{ config, lib, ... }: let
inherit (lib.options) mkEnableOption;
inherit (lib.modules) mkIf;
cfg = config.modules.shell.zsh;
in
{
options.modules.shell.zsh = {
enable = mkEnableOption "enable ZSH";
};
config = mkIf cfg.enable {
programs.zsh.enable = true;
};
}