mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 20:03:55 -05:00
22 lines
461 B
Nix
22 lines
461 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.users.morgan.enable {
|
|
home-manager.users.morgan =
|
|
lib.attrsets.optionalAttrs
|
|
config.ar.users.morgan.manageHome
|
|
(import ../../homes/morgan);
|
|
|
|
users.users.morgan = {
|
|
description = "Morgan Tamayo";
|
|
extraGroups = config.ar.users.defaultGroups;
|
|
hashedPassword = config.ar.users.morgan.password;
|
|
isNormalUser = true;
|
|
uid = 1002;
|
|
};
|
|
};
|
|
}
|