Building a DIY NAS with modern motherboards will almost always provide M.2 slots for SATA and NVMe drives. Always check the documentation for your NAS enclosure or PC hardware for additional details.