You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 17.09 ISO. I tried running nixos-install multiple times trying different password settings for a declared user configuration.
Even when I removed everything and just said password = "abc123"; and after nixos-install, reboot, I still couldn't login. (It is possible that something else I'm doing is wrong, because hashedPassword doesn't work either).
Another major problem is the fact that running nixos-install each time results in reinstalling everything. This is pretty annoying as it lengthens the debug cycle when you can't actually login to your target system. There should be a way to continue from where it left off inside the /mnt/nix/store.
The text was updated successfully, but these errors were encountered:
If the option users.mutableUsers is true, the password defined in one of the three options will only be set when the user is created for the first time.
Set users.mutableUsers to false if you want idempotency.
Another major problem is the fact that running nixos-install each time results in reinstalling everything
This is a known bug in the installer #27307 which should be fixed by #34636.
It has always been false. I never mutable users to true. This problem is about nixos-install not installing a new password even when mutable users is false.
On 17.09 ISO. I tried running nixos-install multiple times trying different password settings for a declared user configuration.
Even when I removed everything and just said
password = "abc123";
and afternixos-install
, reboot, I still couldn't login. (It is possible that something else I'm doing is wrong, becausehashedPassword
doesn't work either).Another major problem is the fact that running
nixos-install
each time results in reinstalling everything. This is pretty annoying as it lengthens the debug cycle when you can't actually login to your target system. There should be a way to continue from where it left off inside the/mnt/nix/store
.The text was updated successfully, but these errors were encountered: