1{
2 lib,
3 config,
4 ...
5}:
6let
7 cfg = config.py.programs.ghostty;
8in
9{
10 options.py.programs.ghostty.enable = lib.mkEnableOption "ghostty";
11 config.catppuccin.ghostty.enable = cfg.enable;
12 config.programs.ghostty = lib.mkIf cfg.enable {
13 enable = true;
14 enableFishIntegration = true;
15 installBatSyntax = true;
16 enableBashIntegration = true;
17 enableZshIntegration = false;
18 settings = import ./settings.nix;
19 };
20}