Use virtualbox with nixos-rebuild build-vm?

Is it possible? I’m having trouble with a few things running in QEMU, but know that they work for sure within virtualbox and on the host.

I could build a hacky solution with vagrant, but would rather not. It should be possible to create a virtualbox VM that shares directories and allows forwarding ports, just like QEMU, but I don’t know if somebody has already built that solution into nixos-rebuild build-vm / nixpkgs

Cheers