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:
parent
506079201d
commit
b15b8bf865
|
@ -3,7 +3,6 @@
|
||||||
home-manager.users = { inherit (hmUsers) nixos; };
|
home-manager.users = { inherit (hmUsers) nixos; };
|
||||||
|
|
||||||
users.users.nixos = {
|
users.users.nixos = {
|
||||||
uid = 1000;
|
|
||||||
password = "nixos";
|
password = "nixos";
|
||||||
description = "default";
|
description = "default";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Reference in a new issue