It depends on your needs and budget. HDDs are the most affordable option and offer large storage capacities, but they are slower than SSDs and NVMe M.2 drives. SSDs are faster and more reliable than HDDs, but they are more expensive and offer lower storage capacities. NVMe M.2 drives are the fastest and most expensive option, but they offer the smallest storage capacities.
If you need a lot of storage space and are on a tight budget, an HDD is a good option. However, if you need faster read and write speeds and can afford to spend more, an SSD or NVMe M.2 drive would be a better choice. If you only need to store files and don't need to install any apps, then any of these options would work well for you.