devos/users/nixos/default.nix
Dmytro Kostiuchenko b15b8bf865 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
2021-11-29 10:41:33 -05:00

11 lines
214 B
Nix

{ hmUsers, ... }:
{
home-manager.users = { inherit (hmUsers) nixos; };
users.users.nixos = {
password = "nixos";
description = "default";
isNormalUser = true;
extraGroups = [ "wheel" ];
};
}