mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:43:55 -05:00
23 lines
477 B
Nix
23 lines
477 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.users.morgan.enable {
|
|
home-manager.users.morgan =
|
|
if config.ar.users.morgan.manageHome
|
|
then import ../../../homes/morgan
|
|
else {};
|
|
|
|
users.users.morgan = {
|
|
description = "Morgan Tamayo";
|
|
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
|
|
hashedPassword = config.ar.users.morgan.password;
|
|
|
|
isNormalUser = true;
|
|
uid = 1002;
|
|
};
|
|
};
|
|
}
|