nixcfg/nixosModules/userConfig/aly/default.nix

21 lines
444 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
inputs,
pkgs,
lib,
config,
...
}: {
options = {
userConfig.aly.enable = lib.mkEnableOption "Enables Aly's user.";
};
config = lib.mkIf config.userConfig.aly.enable {
# Define a user account. Don't forget to set a password with passwd.
users.users.aly = {
isNormalUser = true;
description = "Aly Raffauf";
2024-04-07 22:16:33 -04:00
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
};
};
}