Since Nagato was aware that he was going to die soon why didn't he give Naruto his Rinnegan? His was fully aware of his death and this is shown in episode 172-175 and also on Narutopedia. The Rinnegan isn't a curse but more of great power, Nagato could've easily had his eyes implanted into Naruto and Naruto would've been almost twice as powerful as Nagato and the Six Pains combined. Was there something that was blocking him from doing so such as a curse mark or something such as that?
This has been bugging me for a while, but to reason with my question I would like to explain how he could've implanted them, There are only two canon ways to attain the Rinnegan. (Apart from Ōtsutsuki) These ways are by getting it from someone else or by By Merging Indra’s chakra with Ashura’s. The obvious way he could've gotten it was by getting the Rinnegan from Nagato or stealing it from his corpse. Naruto is not greedy enough to steal it from his corpse but Nagato was definitely able to give him his Rinnigan, but this was the only way of him being able to because of his heratige, Nagato was a part of the Uzumaki clan but not the Ōtsutsuki clan so, therefore, he couldn't just implant them by touch or some sort of Jitsu. He has every reason to give his visual prowess to Naruto.
F.Y.I. Nagato was not mad or angry with Naruto in his final moments