Making a NAS and Minecraft VM with TrueNAS

I’m assembling a NAS, basic specs are going to be 4790K (undervolted), shitty Z97 board, 16GB basic RAM, 2x6TB RAID 1, 2x4TB RAID 1, either a 256GB M.2 SATA SSD or a 128GB Samsung 830 (depending on if the M.2 SATA disables a port or not), and 2 port 10G NIC.

I think it would be a bit of a security risk to have the server running on the same instance as TrueNAS, which is why I want to VM it.

My idea would be to have either TrueNAS native or in a VM with VFIO with the 10G network card, the drives, 8-12GB RAM, and half the CPU.

Then the Minecraft server with the native board 1G passed through, the other half of the CPU, and the rest of the RAM.

Not sure if this is even a good idea or if I will even commit to it, but this is what I’m thinking.