how to parent my sun to environment hdri?
One solution (and probably needlessly complicated) is driving the Sun rotation from the HDRI

Add nodes to your HDRI Mapping node like in the second image
Go Value node &gt; RMB &gt; Copy As New Driver and paste as Sun's Z rotation
The Value node rotates both HDRI + Sun (for animating)
The Add node rotates only HDRI