A lot of bad information about NAS type file servers on this thread. If you have a newer M1/M2 Mac mini, you have many more options on setting up a NAS than you do if you buy an off the shelf NAS, and you get more support for Macs at the same time.
On the Mac, you can use apple's Raid, Softraid software, or run a native virtual machine running Linux to provide RAID 1-10 levels. If you want to setup a true NAS that resembles other NAS devices, then run the Mac as a headless unit.
Here are some benefits:
1) when using thunderbolt4 on M1/M2 Macs, each port has its own controller whereas on Intel machines, all thunderbolt ports share 1 controller. What this means is that the M1/M2 Mac provides more fault tolerance than most other NAS units. You want individual channels to separate disks so if 1 controller has a problem, it will only corrupt 1 side of the disks, not all of them.
2) none of the off the shelf NAS units support APFS, M1/M2 Mac do
3) Most of the NAS machines you can buy have a very small set of cpu's and memory so it's not capable to run other apps like Roon/plex/streaming software. Whereas a M1/M2 Mac has much more compute/memory capacity to run these streaming services software without impacting IO performance. If you are nervous about computer resources, setup multiple native Virtual Machines and limit resources to each.
4) If you don't want to use Apple's or Softraid's RAID software, then setup a native VM running your flavor of linux and use MDADM to create your own RAID.
I've used Unix/Linux software RAID for decades, and I have configured and used EMC/Netapp systems for decades with units costing over $1M in large enterprises. I have dozens of white papers on the web describing my work with storage systems performance configurations while working for the largest storage manufacturer in the world. My last 2 years, I was involved doing SDS (software defined storage) which replaces all NAS/SAN/DAS setups with more redundancy, cheaper, and better performance.
I appreciate that you offer some reasons to consider an M series Mini as a reasonable alternative to commercial NAS units and/or homebrewed.
Just for conversation -
If one has RAID 01, 10, 1, 0, 5 or 6 (as an example) and a single controller goes bad, how do you do the rebuild? One would have to swap out the motherboard or* find a way to have a controller double up on duty to make up for the bad one. If a single controller model goes bad, it too would have the same remedy - a motherboard swap out. While technically the fault-tolerant you speak of is correct, a real-world scenario for a remedy would be about the same. The question is what is the level of risk of a single controller going bad in either scenario? Perhaps a multi-bay external enclosure engaging a single port has less risk given that it would be possible to switch to another port as ports are more likely to suffer issues than "controllers" or the physical "bus."
From days of yore, people have learned to use common platform formatting of external drives that may be shared between systems with different OS. The practice still exists today unless one works with all systems containing the same disk formats. All Apple scenario shows your point quite well. However many NAS use ext3 and ext4 (Linux) and can in fact read-write, and some formats that Macs can engage as well. It really is a non-issue for the most part. If absolute speed is not an issue, hang the drive that is APFS on a Mac and let it talk via network to your NAS.
NAS has come a long way. Both QNAP and Synology offer up good contender for media servers. The NAS offered have HDMI out port often enough, quad core CPU etc. A nice feature is the option to build very large SSD cache setups to work with the mechanical drive RAID or SSD RAID. BOTH* PLEX and Roon enjoy installs on these NAS models.
If people are wanting "easy" by using a Mac Mini, I am unsure if a Linux VM would be considered easy for most given it requires a little bit of knowledge to get the maximum from Linux + RAID.
With all the above said - I think both NAS and Mini as a fileserver/storage in a network scenario can be great. What wasn't stated is the fact that some people have had issues with Thunderbolt external devices dropping offline and we both know that can really be savage where RAID is concerned. Quick fixes for that take a small number of resources to "touch" the drives at intervals to keep them connected.
If someone wants a fun project, consider getting an external multi-bay enclosure that either connects via Thunderbolt or a faster USB such as 3.2 (3.1 gen 2 etc.). Set it up with the software RAID and you have your network storage.
Though you and I see things a bit differently, I fully agree that an M1 Mini can be a powerful option. I also find that some NAS units are amazing and offer little issues as they have matured over the years. My 2012 quad Mini has been retired and it was a very good dedicated media server for years. At that time I also ran a 5 bay NAS. The NAS contained both backup for the Mini (and other Macs) and served up the media files in common with the MAC to my home entertainment setup.
Today I still have Mac and still use NAS and find each have benefits and little negatives.