Zap the nut with an impact while holding the pulley edge.

Or you'd need that torx and a wrench.