2024-04-07 22:16:33 -04:00
|
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2024-03-28 16:13:46 -04:00
|
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
|
alyraffauf.user.dustin.enable = lib.mkEnableOption "Enables Dustin's user.";
|
2024-03-28 16:13:46 -04:00
|
|
|
|
};
|
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
|
config = lib.mkIf config.alyraffauf.user.dustin.enable {
|
2024-03-28 16:13:46 -04:00
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
|
|
|
users.users.dustin = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
description = "Dustin Raffauf";
|
2024-04-07 22:16:33 -04:00
|
|
|
|
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
|
2024-03-28 16:13:46 -04:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|