mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 20:03:55 -05:00
20 lines
459 B
Nix
20 lines
459 B
Nix
{
|
||
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"];
|
||
};
|
||
};
|
||
}
|