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
nixos/gdm: add autoSuspend option #63790
Conversation
Also related #54150 |
Can this be merged? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me but I did not test it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I did not test it either, though. I gave up on gdm a while ago because I had so much trouble.
Testing this today 👍 |
401217d
to
fbc418d
Compare
fbc418d
to
57811d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, build a system and /etc/dconf/profiles/gdm
is the expected contents
and did a dconf dump
for the profile and it has the expected settings set.
1523f0a
to
7c854aa
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/problem-with-xkboptions-it-doesnt-seem-to-take-effect/5269/12 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/setting-caps-lock-as-ctrl-not-working/11952/5 |
Motivation for this change
Since GNOME 3.28 GDM auto-suspends after 20 minutes. This is a problem if you just want to turn on your computer so you can SSH into it later.
Things done
This commit adds an option to
gdm
that lets you turn this off. I think the previous dconf profile was invalid sinceDCONF_PROFILE=/etc/dconf/profile/gdm dconf dump
complained.sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)