Hi all! It’s my first post here and I hope I’m making it in a correct category and in a proper manner. Thank you for your time in advance! I’ve recently moved to NixOS so I’m pretty new.
I’ve decided to try running flatpak version of Steam, and it has been working well so far, but I can’t figure out how to add a non-steam game to it.
When I open the “add non-steam game” window, Steam does not seem to see any applications to add. I think it is most probably because unlike native package it is not looking in correct PATH locations.
To rectify it I’ve tried the following using Flatseal:
- Allowed access to “All system libraries” and “All system configurations”. Couldn’t allow “All system files” or “All user files”, as it stops starting to prevent accidental data loss.
- Explicitly added
/run/current-system/sw
as allowed path in “Other files” - Added it to PATH env variable too:
PATH=/app/bin:/app/utils/bin:/usr/bin:/run/current-system/sw/bin
I still get an empty screen when trying to add a Non-Steam game. I’ve also tried browsing and explicitly adding it, but instead of correct path /run/current-system/sw/bin/XIVLauncher.Core
I get a malformed one /run/user/1000/doc/f5b408d0/XIVLauncher.Core
and the application does not launch.
At this point I’m ready to go back to native, but I do enjoy slightly better stability of a flatpak version on my particular system.
Any advice? I feel like I’m missing something obvious due to being a total Nix noob.
E: had a typo in one of the paths