nixcfg/userModules/morgan/default.nix

24 lines
497 B
Nix
Raw Normal View History

2024-06-14 13:39:01 -04:00
{
config,
inputs,
lib,
pkgs,
self,
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
{imports = [self.homeManagerModules.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
};
};
}