Permalink
Browse files

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.)
  • Loading branch information...
edolstra committed Feb 11, 2019
1 parent ed86a51 commit 07208e7a0b1a6b515552c9150cb7c400a9594521
Showing with 0 additions and 1 deletion.
  1. +0 −1 nixos/modules/installer/tools/nixos-generate-config.pl
@@ -641,7 +641,6 @@ sub multiLineList {
# Define a user account. Don't forget to set a password with ‘passwd’.
# users.users.jane = {
# isNormalUser = true;
# uid = 1000;
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
# };

0 comments on commit 07208e7

Please sign in to comment.