nixcfg/userModules/morgan/default.nix

22 lines
461 B
Nix
Raw Normal View History

2024-06-14 13:39:01 -04:00
{
config,
lib,
pkgs,
2024-06-14 13:39:01 -04:00
...
}: {
config = lib.mkIf config.ar.users.morgan.enable {
home-manager.users.morgan =
lib.attrsets.optionalAttrs
config.ar.users.morgan.manageHome
(import ../../homes/morgan);
2024-06-14 13:39:01 -04:00
users.users.morgan = {
description = "Morgan Tamayo";
extraGroups = config.ar.users.defaultGroups;
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
};
};
}