aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nix/host.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/host.nix')
-rw-r--r--nix/host.nix8
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