nixcfg/nixosModules/userConfig/dustin/default.nix

20 lines
449 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
userConfig.dustin.enable = lib.mkEnableOption "Enables Dustin's user.";
};
config = lib.mkIf config.userConfig.dustin.enable {
# 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"];
};
};
}