I’m trying to start a VM from the VirtualBox UI. It works in sudo, but not my regular user account.
In configuration.nix I have:
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.guest.enable = true;
and I have virtualbox
in my environment.systemPackages
.
in my user profile I added myself to vboxusers two ways:
users.extraUsers.bburdette = {
<more things>
extraGroups = [ "wheel" "dialout" "docker" "vboxusers" ];
};
users.extraGroups.vboxusers.members = [ "bburdette" ];
that seems to have worked:
[bburdette@HOSS:~]$ getent group vboxusers
vboxusers:x:72:bburdette
But I still can’t start VMs from my user account. I get a dialog that says “Kernel driver not accessible”.
Help!