Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option for standard non-steam deck branch #303

Open
anthr76 opened this issue Mar 12, 2024 · 1 comment
Open

Allow option for standard non-steam deck branch #303

anthr76 opened this issue Mar 12, 2024 · 1 comment
Labels
1. type: Enhancement Contributes a new feature, or a new package 1. type: Feature request 2. priority: 3. low 2. topic: system integration About our integration of Steam stuff within NixOS ↺ workaround A known workaround for the issue exists.

Comments

@anthr76
Copy link

anthr76 commented Mar 12, 2024

Hello! I've been consuming and using Jovian-NixOS very well for a general purpose x86 living room console. Though, I did want to try the non-steam deck branch of steam as I understand SteamOS should be near feature parity in big picture mode.

My reason being is because the store looks a bit off blown up on a 4K TV and subtle quirks in the settings assume a steam deck.

I've tried poking through the plumbing and I assume this line in gamescope-session would need to be configurable:

steamargs=("-steamos3" "-steampal" "-steamdeck" "-gamepadui")

I understand I can alternatively build essentially what Jovian does and use upstream nixpkgs but Jovian has lots of batteries included, even for non-deck hardware.

@samueldr samueldr added 2. priority: 2. normal 2. topic: system integration About our integration of Steam stuff within NixOS 1. type: Feature request 1. type: Enhancement Contributes a new feature, or a new package ↺ workaround A known workaround for the issue exists. labels Oct 29, 2024
@samueldr
Copy link
Member

The options added in #259 allows changing the environment (and less environment) bits of the gamescope-session script.

It injects the environment affordance after steamargs is defined

short_session_count_before_reset=3
SECONDS=0
+# Jovian NixOS environment overrides hook
+if test -e /etc/xdg/gamescope-session/environment; then
+ . /etc/xdg/gamescope-session/environment;
+fi

See also:

While you can't use the jovian.steam.environment option directly

You can add to the text file it's creating

Since its type allows it.

This should be sufficient to unstick yourself for experimenting and testing, and if it ends-up showing it might be helpful to "own" the steamargs value from within Jovian NixOS options, then we'll be able to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. type: Enhancement Contributes a new feature, or a new package 1. type: Feature request 2. priority: 3. low 2. topic: system integration About our integration of Steam stuff within NixOS ↺ workaround A known workaround for the issue exists.
Projects
None yet
Development

No branches or pull requests

2 participants