From 07208e7a0b1a6b515552c9150cb7c400a9594521 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 Feb 2019 10:46:25 +0100 Subject: [PATCH] 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.) --- nixos/modules/installer/tools/nixos-generate-config.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 3bcf90258d79..686204ee0342 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -641,7 +641,6 @@ $bootLoaderConfig # 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. # };