nixos-config
nixos-config copied to clipboard
Incorrect sudo password
After installing according to the script, my old password to sudo stopped working and I can't log into the hyperland
Did you install on a fresh NixOs install or in an existing one ? Either way it is strange that the root password isn't working as the config doesn't set any password.
yes, I installed it on a fresh build and tried twice and in both cases the password was lost
After rebooting, the password for sudo did not work on either the old snapshot or the new one
and I can't see the password hash because I don't have access to sudo lol)
What keyboard layout did you use to set your password during the install ?
By default the config set's the keyboard layout to US. So if you used another layout to set your password during the install phase the characters may not be in the same place.
in the first attempt I used ru/en and in the second only en
I also encountered the same problem.
After I run the script, my user password is invalid, and when I use the original Gnome desktop, the user password will also be replaced or cleared.
After I run the script, my user password is invalid, and when I use the original Gnome desktop, the user password will also be replaced or cleared.
Make sure you sudo passwd ___ before rebooting into your system after rebuilding NixOS. Replace ___ with the username you have. Then do it again with the word root instead if you wanted to have a different root password.
same for me
same thing happened to me twice, any solutions?
Hi, anyone found a solution for this?