diff --git a/hw/straylight/default.nix b/hw/straylight/default.nix index 20e23a1..b54de72 100644 --- a/hw/straylight/default.nix +++ b/hw/straylight/default.nix @@ -394,6 +394,42 @@ in }; }; + # Hermes Desktop (`hermes desktop`) builds and launches an unpackaged + # Electron binary from ~/.hermes/hermes-agent/apps/desktop. It runs through + # nix-ld, so the Electron/Chromium runtime libraries have to be listed here. + programs.nix-ld.libraries = with pkgs; [ + glib + nspr + nss + dbus + at-spi2-atk + at-spi2-core + cups + cairo + gtk3 + pango + gdk-pixbuf + libx11 + libxcomposite + libxdamage + libxext + libxfixes + libxrandr + libxcb + libxkbcommon + libgbm + libdrm + libglvnd + mesa + vulkan-loader + expat + systemd # libudev + alsa-lib + libpulseaudio + libnotify + libsecret + ]; + # Headless Chromium exposing a CDP endpoint for Hermes browser tools. # Loopback only; browser.cdp_url in ~/.hermes/config.yaml points at it. # Ungoogled-chromium (already in desktop-packages-light.nix), no ad-block