diff options
| author | 2026-06-05 11:06:00 +0100 | |
|---|---|---|
| committer | 2026-06-05 11:06:00 +0100 | |
| commit | 2a70112ba148f9adda8076e3027b23a42b314a20 (patch) | |
| tree | c101e07610ba99a6604fc4d46049cb67f5c84bcf /nix/host.nix | |
| parent | 8bd9b4b1dde1274b5f23171610eed7c3396dad96 (diff) | |
| download | dotfiles-2a70112ba148f9adda8076e3027b23a42b314a20.tar.gz dotfiles-2a70112ba148f9adda8076e3027b23a42b314a20.tar.bz2 dotfiles-2a70112ba148f9adda8076e3027b23a42b314a20.zip | |
fix(nix,meta): keep ghostty on pacman to fix missing OpenGL context
ghostty is a GPU/OpenGL terminal. Nix-built GL apps on a non-NixOS host
can't locate the system Mesa/DRI driver (FHS /usr/lib drivers don't match
nix's search paths), so the nix-migrated ghostty failed to start with
"missing OpenGL context". Move it back to meta/base.txt (pacman) so it
links against system Mesa. Same caveat flagged for imv/wl-mirror/sparrow.
Diffstat (limited to 'nix/host.nix')
| -rw-r--r-- | nix/host.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nix/host.nix b/nix/host.nix index 64a0555..09c3df7 100644 --- a/nix/host.nix +++ b/nix/host.nix @@ -93,8 +93,12 @@ in playerctl # MPRIS over session bus pulsemixer # TUI for PipeWire/PulseAudio - # ── Terminal ───────────────────────────────────────────────────────────── - ghostty + # NOTE: ghostty is intentionally NOT here — it is a GPU/OpenGL terminal. + # Nix-built GL apps on a non-NixOS host can't locate the system Mesa/DRI + # driver (the FHS /usr/lib drivers don't match nix's search paths) and + # fail at startup with "missing OpenGL context". It stays on pacman + # (meta/base.txt) so it links against the system Mesa. The same caveat + # applies to other GL/EGL apps (imv, wl-mirror, sparrow) — see base.txt. # ── General CLIs migrated off pacman ────────────────────────────────────── qrencode |
