There is now a new Auto Smooth node in geometry nodes, I think it was added in 4.1
For context, this is in the video from ~3;30.
Also, it's a Node Group and it's called Smooth by Angle.