2024-06-14 13:39:01 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-06-28 19:36:23 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-06-14 13:39:01 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.users.morgan.enable {
|
2024-06-28 19:36:23 -04:00
|
|
|
home-manager.users.morgan =
|
2024-07-02 16:23:27 -04:00
|
|
|
lib.attrsets.optionalAttrs
|
|
|
|
config.ar.users.morgan.manageHome
|
|
|
|
(import ../../../homes/morgan);
|
2024-06-28 19:36:23 -04:00
|
|
|
|
2024-06-14 13:39:01 -04:00
|
|
|
users.users.morgan = {
|
|
|
|
description = "Morgan Tamayo";
|
2024-07-02 16:23:27 -04:00
|
|
|
extraGroups = config.ar.users.defaultGroups;
|
2024-06-26 22:13:02 -04:00
|
|
|
hashedPassword = config.ar.users.morgan.password;
|
2024-06-14 13:39:01 -04:00
|
|
|
isNormalUser = true;
|
2024-06-18 18:50:28 -04:00
|
|
|
uid = 1002;
|
2024-06-14 13:39:01 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|