My rule of thumb has always been to get as much RAM as you can afford.
According to the Asahi Linux folk, the M2 series does support nested virtualization. But, Apple's Hypervisor.framework doesn't provide access to that as far as I know.
Mac mini (M2 Pro/32GB/2TB), Intel NUC10i5FNH w/ESXi 7.0, iPhone 14 Pro Max (256GB), iPad Pro 12.9" (5th gen, M1/16GB/1TB) 40mm Watch Series 6 (Titanium), TV 4K (3rd gen), TV 4K (1st gen)