nonguix: multiarch-container: Share Monado socket with container.

* nonguix/multiarch-container.scm (make-container-wrapper): Share
$XDG_RUNTIME_DIR/monado_comp_ipc with container for use with SteamVR.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
James Smith 2025-11-23 21:45:08 -07:00 committed by Hilton Chain
parent a3e6ee95ba
commit e3643ae5be
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -354,6 +354,10 @@ in a sandboxed FHS environment."
,(string-append sandbox-home "=" home)
,@(exists-> (string-append home "/.config/pulse"))
,@(exists-> (string-append xdg-runtime "/pulse"))
;; Share Monado service socket for use in SteamVR (will
;; still need to set PRESSURE_VESSEL_FILESYSTEMS_RW in
;; launch options).
,@(exists-> (string-append xdg-runtime "/monado_comp_ipc"))
,@(exists-> (string-append xdg-runtime "/bus"))
,@(exists-> (string-append xdg-runtime "/" wayland-display))
,@(exists-> (getenv "XAUTHORITY"))