Do not hardcode UID for the exemplary user

uid = 1000 is an unreasonable default for an examplary user nixos, because someone trying DevOs on a working NixOS installation likely has their own user with uid=1000 already. The code thus renders /etc/passwd invalid preventing user from logging in
This commit is contained in:
Dmytro Kostiuchenko 2021-11-29 08:44:15 +02:00 committed by David Arnold
parent 506079201d
commit b15b8bf865

View file

@ -3,7 +3,6 @@
home-manager.users = { inherit (hmUsers) nixos; };
users.users.nixos = {
uid = 1000;
password = "nixos";
description = "default";
isNormalUser = true;