For the CPU: I have a AMD Ryzen 5 8600G in my TrueNAS Scale box, I use the integrated graphics for hardware transcoding in Jellyfin. If you don’t need transcoding it’s probably overkill.
For TrueNAS you’ll also want a lot of RAM, as ZFS (the filesystem) gets faster with more ram by using it as a cache. My box has 32 GB, but 16 GB should also work, especially if you’re going with SSD storage.
And don’t go cheap on the power supply, get an efficient one from a good brand (I prefer BeQuiet).
Depends a bit on what kind of topics you’re interested in, maybe you can expand a bit on that so others can give better recommendations.
Some of my preferred channels (All in the tech/science/engineering area):
This can happen when the file has mixed line endings
+1 for Keepass + Syncthing. Free, no cloud, always synced.