Another option, if your needs are relatively modest, is to choose a low power mini PC. The one I chose idles at around 5W under Linux before any tweaking. It is based on the Intel N5105. I have a few 2.5” external HDDs attached for backup which are configured to sleep after a short time.
Low powered pcs are the way to go for self hosting. Lots of great options that sip power at idle (most of the time) Desktop grade cpus can be found that max at 35W. The power per watt of sa
Cpu-Power point per watt is what you're after.
And then, electricty cost per watt-point.
8th gen intel and above cpus are quite perfect for this, they often have hyperthreading and vPRO built into an enterprise/military grade box for hundreds and have near perfect linux support out of the box, whether it's Lenovo, HP, Dell, etc.