2023-08-29 23:11:07 -04:00
|
|
|
Configuration
|
|
|
|
=============
|
|
|
|
|
2025-01-18 13:30:05 -05:00
|
|
|
## Using the Steam Deck UI
|
2023-08-29 23:11:07 -04:00
|
|
|
|
|
|
|
To use the Steam Deck UI, set `jovian.steam.enable = true;` in your configuration.
|
|
|
|
|
2024-10-06 17:54:53 -04:00
|
|
|
This will only enable the Steam Deck UI tooling.
|
|
|
|
**To enable "desktop" Steam**, enable the usual NixOS options.
|
|
|
|
|
|
|
|
The Steam Deck UI can be used in different manners.
|
|
|
|
|
2025-01-18 13:30:05 -05:00
|
|
|
### Autostart
|
2024-10-06 17:54:53 -04:00
|
|
|
|
|
|
|
(*This is the preferred way to use the Steam Deck interface*)
|
|
|
|
|
|
|
|
Set `jovian.steam.autoStart = true;` to auto-start at boot.
|
|
|
|
|
|
|
|
This also enables use of the *Switch to Desktop* option.
|
|
|
|
|
|
|
|
> [!NOTE]
|
|
|
|
> To go back to the *Steam Deck interface* from the *desktop* interface, logout or exit from your desktop environment.
|
2023-08-29 23:11:07 -04:00
|
|
|
|
2024-10-06 17:54:53 -04:00
|
|
|
If you want the *Switch to Desktop* menu option to switch to another session, you will need to configure `jovian.steam.desktopSession`.
|
2023-08-29 23:11:07 -04:00
|
|
|
Configure it with the name of the X11 or Wayland session of your choosing.
|
2024-10-06 17:54:53 -04:00
|
|
|
The session name semantics are the same as for the `services.displayManager.defaultSession` NixOS option.
|
|
|
|
|
2025-01-18 13:30:05 -05:00
|
|
|
### As a user session
|
2024-10-06 17:54:53 -04:00
|
|
|
|
|
|
|
Select the *Gaming Mode* sesssion in your Display Manager, or run `start-gamescope-session` in a VT.
|
|
|
|
|
|
|
|
The *Switch to Desktop* option will not work as intended, instead it will close Steam.
|
|
|
|
|
|
|
|
|
2025-01-18 13:30:05 -05:00
|
|
|
### As a *nested* window
|
2024-10-06 17:54:53 -04:00
|
|
|
|
|
|
|
Run `gamescope-session` within an existing desktop session.
|
|
|
|
|
2024-10-07 12:44:44 -04:00
|
|
|
This will run [gamescope](https://github.com/ValveSoftware/gamescope) in nested mode which may result in higher latency.
|
2024-10-06 17:54:53 -04:00
|
|
|
|
|
|
|
Usage as a *nested* window is less tested, and may have other undesirable idiosyncrasies.
|
2023-08-29 23:11:07 -04:00
|
|
|
|
2024-10-06 17:54:53 -04:00
|
|
|
The *Switch to Desktop* option will not work as intended, instead it will close Steam.
|
2025-01-18 13:30:05 -05:00
|
|
|
|
|
|
|
|
|
|
|
## Going further
|
|
|
|
|
|
|
|
This is a NixOS system, you can do much more.
|
|
|
|
[All the usual NixOS options are available](https://search.nixos.org/options?channel=unstable).
|
|
|
|
|
|
|
|
In addition to that, all the Jovian NixOS options, including internal implementation details,
|
|
|
|
are listed on the [options page in the documentation](https://jovian-experiments.github.io/Jovian-NixOS/options.html).
|