mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 18:49:17 -05:00
22 lines
465 B
Nix
22 lines
465 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.users.dustin.enable {
|
|
home-manager.users.dustin =
|
|
lib.attrsets.optionalAttrs
|
|
config.ar.users.dustin.manageHome
|
|
(import ../../../homes/dustin);
|
|
|
|
users.users.dustin = {
|
|
description = "Dustin Raffauf";
|
|
extraGroups = config.ar.users.defaultGroups;
|
|
hashedPassword = config.ar.users.dustin.password;
|
|
isNormalUser = true;
|
|
uid = 1001;
|
|
};
|
|
};
|
|
}
|