Solved : Cant Enable RayTracing in UE5 (gtx 1060)(Nvidia Pascal)

you actually just need to make sure lumen is turned on for both global illumination and reflections

then scroll down to hardware ray tracing, enable that, and then you can enable the other hardware ray tracing button.