If you’re after the absolute best connectivity between your home server and the rest of your network, there’s no question: it’s going to be hardwired, preferably with Cat6a or above, or maybe fiber optics if you have compatible hardware. I’m not here to debate whether Wi-Fi will ever be better than Ethernet, because that’s never going to be a winning argument.