Use disko with `nixos-rebuild build-vm-with-bootloader` or something similar

Hello, I’m figuring a way to quickly generate VMs to test out different disko configurations.
I hoped that nixos-rebuild build-vm-with-bootloader will use disko to do partitioning, but apparently it’s not the case.

Can anyone suggest some easy workflow to generate VMs from nixos configurations with disko disk partitioning schemes?