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