From 07208e7a0b1a6b515552c9150cb7c400a9594521 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 Feb 2019 10:46:25 +0100 Subject: 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(-) (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl') diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 3bcf90258d7..686204ee034 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. # }; -- cgit 1.4.1