Indeed, I made a fedora distrobox and followed the build recommendations of Ghostty for fedora, see here: Build from Source - Install. You can deploy a binary in your home dir:
zig build -p $HOME/.local -Doptimize=ReleaseFast
This allows you to run Ghostty directly from the host, without entering distrobox and without layering.
Anyway, I liked the experiment and Ghostty is a promising project. For daily use, I prefer the default Ptyxis terminal.
Indeed! With sharing of your home directory into the distrobox container, you very likely won’t need a manual copy step. As per comment from @mheuvel-dev .
Right now I’ve set up a script for fetching the latest release and building if there are differences, but it’s a little janky and I’m not sure how to automate it to run in the distrobox.
Does anyone have a nice way of setting up something like a systemd Quadlet to automate the maintenance?