-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
nixos/display-managers/auto: remove #78583
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/display-managers/auto: remove #78583
Conversation
2763c7a
to
558d16e
Compare
{ services.xserver.enable = true; | ||
{ | ||
imports = [ | ||
./auto.nix |
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.
This is better than before but I would much rather do something like
imports = [
(import ./common/auto-login.nix { user = "alice"; })
];
at each individual modules.
But it would not be idiomatic and I am not sure if it would not affect the performance negatively.
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.
This whole thing could really turn into a common testing lib which I think we actually might need.
But I don't think I really want to improve this more just yet, I'd like to see this in 20.03.
@jtojnar Changes pushed. I believe I got all the |
e60c2ce
to
5834008
Compare
This module allows root autoLogin, so we would break that for users, but they shouldn't be using it anyways. This gives the impression like auto is some special display manager, when it's just lightdm and special pam rules to allow root autoLogin. It was created for NixOS's testing so I believe this is where it belongs.
5834008
to
c95612a
Compare
…anager nixos/display-managers/auto: remove
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation for this change
This module allows root autoLogin, so we would break that for users, but they shouldn't be using it anyways. This gives the impression like auto is some special display manager, when it's just lightdm and special pam rules to allow root autoLogin. It was created for NixOS's testing
so I believe this is where it belongs.
cc @hedning @jtojnar as we discussed this #53843
Things done
I need to check the tests in NixOS still work properly that might rely on auto being enabled but don't have the correct imports or something.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)