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/xserver: auto-enable preferred display managers for DE's #71515
Conversation
When Gnome 3 is enabled we should use GDM over lightdm, and similarly for Plasma5 we should be using SDDM. This doesn't change the default of lightdm, however if someone were to enable multiple desktops the previous rules for Gnome and Plasma don't apply, and lightdm is used.
cc @infinisil, maybe you could suggest what's up with the infinite recursion? |
I guess the problem is that setting the value of EDIT: |
Right, how about we introduce a |
|
Thank you for your contributions.
|
I marked this as stale due to inactivity. → More info |
this seems to be stale for a long time. if you still care about this you are free to reopen again :) |
Motivation for this change
When Gnome 3 is enabled we should use GDM over lightdm,
and similarly for Plasma5 we should be using SDDM.
This doesn't change the default of lightdm, however
if someone were to enable multiple desktops the previous rules
for Gnome and Plasma don't apply, and lightdm is used.
Really a follow for what we wanted in #48080
Todo's
This is opened as a draft because I get an infinite recursion and I'm not sure why.
In all situations the user defined display-manager should be used.
Further motivations
I've actually opened this in the hopes of very soon not using slim as a display-manager
in the installer ISO.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @