This is my first foray into NixOS. I don't claim to be an expert by any means 😄.
In the future I may explore other features such as impermanence and secure boot.
So far, the following games have worked well on my Framework 16 with discrete GPU:
Setup:
- Add the Windows Battle.net installer as a non-Steam game named "Battle.net" in Steam.
- Force the use of Proton 8.0-5 in the game's Steam configuration.
- Run the "game" to install the Battle.net Launcher.
- Log into Battle.net and install StarCraft II.
- Start StarCraft II from the Battle.net Launcher and adjust the in-game screen resolution to 2560 x 1600.
On subsequent runs I just launch the same "Battle.net" entry, as the installer will start the Battle.net Launcher if it is already present, and from there I start StarCraft.
Setup:
- In the game's Steam settings, force the use of Proton 8.0-5.
- Install the game as usual through Steam.
- Allow Vulkan shader generation to run to completion on first startup (this took several minutes).
Subsequently, I just launch the game from Steam as usual.
I found the following useful while constructing this configuration: