{ config, lib, ... }: with lib; let cfg = config.terminal.ghostty; in { options = { terminal.ghostty.enable = mkEnableOption "enable ghostty terminal"; }; config = mkIf cfg.enable { programs.ghostty.enable = true; # home.packages = [ # inputs.ghostty.packages.x86_64-linux.default # pkgs.ghostty }; }