mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 23:23:55 -05:00
24 lines
497 B
Nix
24 lines
497 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.users.morgan.enable {
|
|
home-manager.users.morgan =
|
|
lib.attrsets.optionalAttrs
|
|
config.ar.users.morgan.manageHome
|
|
{imports = [self.homeManagerModules.morgan];};
|
|
|
|
users.users.morgan = {
|
|
description = "Morgan Tamayo";
|
|
extraGroups = config.ar.users.defaultGroups;
|
|
hashedPassword = config.ar.users.morgan.password;
|
|
isNormalUser = true;
|
|
uid = 1002;
|
|
};
|
|
};
|
|
}
|