-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Creating new user during installation via configuration.nix can't log in after installation #55424
Comments
same happens if you just |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/normal-user-not-listed-in-gdm/10324/2 |
Is this a PEKBAC issue?
|
I marked this as stale due to inactivity. → More info |
I had the same problem. It might very well be what @lasers sugested: I created the user while still on the installation medium. From @AMDphreak's description it is clear that this is what he did as well. I was able to solve it like this (after the finished installation)
|
This was happening to me on a new installation on a raspberry pi 4 following the instructions of this wiki page that disables grub in favor of the raspberryPi boot.loader:
However the configuration.nix generated by the
And that worked, the generation with the user created on |
Issue description
Can't login to my user after installing Nixos.
user has a password already set, even though it was not specified. Only way to fix this is to login as root and use
passwd myusername
.Steps to reproduce
Edit
/mnt/etc/nixos/configuration.nix
.Uncomment section for adding a user. (I also uncommented section for booting KDE at start).
Change username to what you want.
Install NixOS.
Boot NixOS.
Can't login with username. It already has a password.
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: