nixos-generate-config: Don't suggest setting a uid
This hasn't been needed for a long time, even when `mutableUsers = false`. Setting a uid manually is potentially risky since it could collide with non-declarative user accounts. (We do check for collisions between declarative accounts.)
This commit is contained in:
parent
ed86a5181c
commit
07208e7a0b
@ -641,7 +641,6 @@ $bootLoaderConfig
|
|||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
# users.users.jane = {
|
# users.users.jane = {
|
||||||
# isNormalUser = true;
|
# isNormalUser = true;
|
||||||
# uid = 1000;
|
|
||||||
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user