I've somewhat recently taken TrueNAS to avoid the headache of DKMS for ZFS support.
While it is nice to know I basically don't have to worry about that, the rest of it is pretty painful -- I can't even install a package without manually running it in docker.
We've in a CentOS/Rocky shop at work until recently, moving to Debian.
If I has to redo my NAS, is take Debian or something and call it a day. The hassle of TrueNAS and similar distros do not really seem worth it, if you want more control.