Don't, just get a refurb mini PC. I got one with space for a m.2 drive and a sata SSD 2’5 inch. If you need bigger storage use an external drive for storage and the m.2 for the VM's.
I bought this one, upgraded storage to m.2 2TB and ram to 32GB and was done for almost 300€. Runs pihole, home assistant, music assistant, docker, jellyfin and other stuff without a problem. It is file serving sample library's for my home studio too.
Earlier...the frontal camera obscura