{ x, lib, config, True, ... }: with lib; with x; let cfg = config.module.programs.cli.helix; in { options = { module.programs.cli.helix = { enable = mkBool; }; }; imports = [ ./settings.nix ./binds.nix ./languages.nix ./theme.nix ]; config = mkIf cfg.enable { programs.helix = True // { defaultEditor = true; }; }; }