b15b8bf865
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
11 lines
214 B
Nix
11 lines
214 B
Nix
{ hmUsers, ... }:
|
|
{
|
|
home-manager.users = { inherit (hmUsers) nixos; };
|
|
|
|
users.users.nixos = {
|
|
password = "nixos";
|
|
description = "default";
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
};
|
|
}
|