git.iko.soy/typeable/nixpkgs
on master help sign in
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.)

commit07208e7a0b1a6b515552c9150cb7c400a9594521 authorEelco Dolstra <edolstra@gmail.com> dateMon 11 Feb 2019, 10:46 (8 years ago) parented86a51
1 file changed−1
nixos/modules/installer/tools/nixos-generate-config.pl−1
nixos/modules/installer/tools/nixos-generate-config.pl−1
@@ -641,7 +641,6 @@ $bootLoaderConfig
641641 # Define a user account. Don't forget to set a password with ‘passwd’.
642642 # users.users.jane = {
643643 # isNormalUser = true;
644− # uid = 1000;
645644 # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
646645 # };
647646