mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 18:23:54 -05:00
22 lines
462 B
Nix
22 lines
462 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;
|
|
};
|
|
};
|
|
}
|