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