mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
The shim's permissions (devices=all, its store path, LD_PRELOAD, SFN_MPV_HWDEC) were a Flatpak override: through nix-flatpak's services.flatpak.overrides, whose override file outlives the configuration (it left an empty file behind), or a Home Manager link that `flatpak override --user` would replace (hence `force`). Now a desktop entry shadowing the Flatpak's (same ID, same fields and actions; also what the "+" menu sees) passes them as `flatpak run` options (--device=all --filesystem=<shim>:ro --env=...), so nothing is written to Flatpak's overrides and they disappear with the entry. jellyfin.hardwareDecoding.command is that command line for a terminal. The entries earlier versions put into the override file are removed by steam-frame-nix-cleanup. Checked with `flatpak run ... --command=sh`: the shim's store path is visible read-only, the environment is set and /dev/video* is there.