Nope no special setup required. Just install android 11 and the moonlight app straight from the play store. Pick 4k resolution from moonlight settings and off you go.
Regarding Linux, tried it on ubuntu bionic and jammy. If moonlight is your only use case, stick to android.