You'll just have to be careful to match the enclosure to the ports on the system. The base-model M6 Mac mini still uses Thunderbolt 4, so a USB4v2 enclosure would be wasted.
Compared to the prices of storage today, when people are presumably buying the product, it's actually a bad price.