mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00

Adds a Nix VM configuration to run Gnome/Wayland. The primary purpose will be testing Ghostty in a "clean" environment. I'm going to continue to experiment with running this in CI to see if we can do some basic testing of GTK since it's difficult to unit test that code. To use, run `nix run .#wayland-gnome` in the Ghostty source directory. I have no idea if this works on macOS. There's probably a lot of extra stuff that can be trimmed to slim it down. Whatever directory you run this from will be mounted at `/tmp/shared` in the VM. The `ghostty` user runs as uid/gid 1000/1000 so that may affect your ability to read/write that directory if your host system user runs as a different uid/gid. If this is something that we'd like to keep, we should add VM definitions for KDE Plasma and maybe one tiling window manager. https://github.com/user-attachments/assets/57190913-f338-4383-93aa-90c9e351543d