nixcfg/modules/common/users.nix
2025-06-01 01:27:21 -04:00

23 lines
455 B
Nix

{ config, pkgs, ... }:
{
users.users.regent = {
isNormalUser = true;
extraGroups = [ "docker" "wheel" ];
packages = with pkgs; [ tree ];
};
programs.git = {
enable = true;
config = {
user.name = "waveringana";
user.email = "ana@nekomimi.pet";
init = {
defaultBranch = "main";
};
};
};
security.sudo.enable = true;
security.sudo.wheelNeedsPassword = false;
}