sneeuwvlok/modules/system/shell/zsh.nix
2025-03-30 21:44:26 +02:00

17 lines
297 B
Nix

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