nixos/sysConfig/users.nix
2023-03-22 00:11:44 -04:00

19 lines
500 B
Nix

{ config, pkgs, lib, ... }:
{
# Change users.users.<USERNAME> to your username, I don't recommend messing with extraGroups
users.users.bryan = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ];
};
security.sudo.wheelNeedsPassword = false; # Feel free to remove this if you want to type your password on sudo
programs.gnupg = {
agent = {
enable = true;
enableSSHSupport = true;
};
};
}