nixcfg/nixosModules/users/morgan/default.nix

23 lines
477 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 =
if config.ar.users.morgan.manageHome
then import ../../../homes/morgan
else {};
2024-06-14 13:39:01 -04:00
users.users.morgan = {
description = "Morgan Tamayo";
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
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
};
};
}