nixcfg/nixosModules/userConfig/aly/default.nix
2024-03-28 19:52:15 -04:00

16 lines
437 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.

{ 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";
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "video" ];
};
};
}