# Validates kitty shell option requires zsh to be enabled if explicitly configured { config, ... }: let cfg = config.terminal.kitty; in { assertions = [ { assertion = !(cfg.enable && config.terminal.kitty.settings.shell != null && !config.terminal.zsh.enable); message = '' terminal.kitty.enable has shell explicitly set to zsh but terminal.zsh.enable is not set. Enable terminal.zsh or configure a different shell for kitty. ''; } ]; }