Entirely seriously and not trying to be rude:
Learn how to write better supports tickets / help requests.
Your title implies you need help with an initial efficient set up, but then you go on to describe that what you actually want is help figuring out why moonlight/sunshine/steamlink streaming is quite slow on your system.
Just be that specific in the title.
There are tons of different ways a system can be efiicient, things it can be optimized for, both in hardware and software terms. People see a title like you have and generally think its someone asking a pretty broad question, a different question than what you seem to actually want the answer too.
Now to attempt to answer that question:
Well, you say that RDR2 and CP77 run decently well locally as compared to when it was a Windows machine, so it seems the pc itself is doing ok... but, we have problems when trying to stream it to other devices.
What are those other devices? What are their speces/configuration?
What is the network card on this resurrected pc? Does it have drivers that work with your streaming software?
What about your wifi router, what are its specs, model number, settings config?
With streaming, we are now talking about at least 2 devices that all have to meet min specs and be configured correctly, at least 3 if you're doing this wirelessly.
Also... were you doing local wired or wireless streaming from/to this device back when it ran Windows, for a point of perfromance comparison, or are you just trying this for the first time when it is now a linux machine?
Streaming like this, the streaming itself is actually often quite a demanding and intensive process, its fairly likely using that rig that just barely, roughly meets CP77 min specs... well, throw streaming on top of that and now that machine is basically below min specs.
This is why say Twitch streamers who play very graphically intensive games at high to ultra settings tend to have absolutely monstrous rigs, or just throw in a dedicated capture card or device of some kind... realtime screen recording and transmitting is an intensive process... even a 2 to 3 thousand dollar modern setup is gonna lose maybe 5% ish off its avg FPS just doing local screen capture, muchless also realtime transmitting it.
IRT Steam Link for linux, it is relatively new and is probably still working through an initial 'growing pains' type stage of proper linux support on basically all conceivable hardware, its not even 2 months into its official, initial linux release.
More info:
https://linuxvox.com/blog/steam-link-linux/
https://www.linuxmadesimple.info/2024/06/how-to-install-steam-link-on-ubuntu-2404.html?m=1
https://help.steampowered.com/en/wizard/HelpWithGame/?appid=353380
Moonlight/Sunshine:
https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide