I got my replacement PSU, which was the same model as the one that died - Corsair RM850x. I kept all the cables from the old PSU attached to the motherboard, etc. So to hook up the new PSU I just had to plug the cables into the PSU. My new PC is now working again. I just hope it lasts.
I...