fix: allow steamos-manager to override sddm config#553
Closed
Titaniumtown wants to merge 3 commits intoJovian-Experiments:developmentfrom
Closed
fix: allow steamos-manager to override sddm config#553Titaniumtown wants to merge 3 commits intoJovian-Experiments:developmentfrom
Titaniumtown wants to merge 3 commits intoJovian-Experiments:developmentfrom
Conversation
446bc00 to
261d635
Compare
261d635 to
68f2a68
Compare
K900
reviewed
Feb 27, 2026
| # Disable NixOS's autologin config generation. | ||
| # We put autologin config in sddm.conf.d instead so that steamos-manager's | ||
| # zzt-steamos-temp-login.conf can override the session on Switch to Desktop. | ||
| # (SDDM reads conf.d files alphabetically, so zzt > 00) |
Contributor
There was a problem hiding this comment.
I fixed this in nixpkgs, this should not be necessary.
K900
reviewed
Feb 27, 2026
| install -m644 "data/system/steamos-manager.service" "$out/lib/systemd/system/" | ||
|
|
||
| install -d -m0755 "$out/lib/systemd/system/sddm.service.d/" | ||
| install -m644 "data/system/reset-oneshot-boot.conf" "$out/lib/systemd/system/sddm.service.d/" |
Contributor
There was a problem hiding this comment.
This will not do anything, because our service name is display-manager.service (for legacy reasons). It should probably be set in the NixOS module instead.
Contributor
|
I've merged bits of this. |
Contributor
Author
|
Ok great! Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
steamos-managercreates a filezzt-steamos-temp-login.confin order to temporarily override the sddm config in order to switch to desktop. But we were hard coding this intosddm.conf, we should've really be doing this in a seperate config insddm.conf.dso that steamos-manager's config can override it when the user requests to switch to desktop.This matches how it works on SteamOS.