nixcfg/nixosModules/user/dustin/default.nix

20 lines
459 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.user.dustin.enable = lib.mkEnableOption "Enables Dustin's user.";
};
config = lib.mkIf config.alyraffauf.user.dustin.enable {
# Define a user account. Don't forget to set a password with passwd.
users.users.dustin = {
isNormalUser = true;
description = "Dustin Raffauf";
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
};
};
}