nixcfg/userModules/dustin/default.nix

24 lines
498 B
Nix
Raw Normal View History

{
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;
2024-06-18 18:50:28 -04:00
uid = 1001;
};
};
}