1
Fork 0
nixos-system-config/users/user.nix
2023-06-24 23:09:01 +02:00

20 lines
400 B
Nix

{ ... }:
{
users.users.user = {
isNormalUser = true;
passwordFile = "/nix/config/pw"; # mkpasswd in config dir
description = "user";
extraGroups = [
"wheel"
"audio"
"video"
"docker"
"podman"
"networkmanager"
"kvm"
"libvirt"
"plugdev"
];
};
}