Newbie question. Isn't this comment redundant: "Don't forget to set a password with ‘passwd’"

Why there’s this comment on the default configuration.nix file: Don’t forget to set a password with ‘passwd’?

# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.amadeus = {
  isNormalUser = true;
  description = "Amadeus";
  extraGroups = [ "networkmanager" "wheel" ];
  packages = with pkgs; [
  #  thunderbird
  ];
};

The password is setup during installation (at least when I chose Gnome as DE).

Thanks in advance.

Using the command-line installer only the root-password is set. Not sure about how the graphical installer works. :slight_smile:

2 Likes

Also if you add a new user at some point, you’ll either need to use passwd, or set one of these things:

1 Like