I think you are looking at a dynohub.
Several years ago I bought a dyno powered headlight on a clearance price, no switch on it. Sat on my shelf for a few years. Then I got lucky and got a low cost dynohub wheel that had been donated to a charity. Put it on my errand bike. In my case it is a Shimano hub, they are grounded to the fork, the light is also grounded to the mount, steel fork is conductive, thus one wire from hub to light was all that was needed. My fork has fender mounts, your carbon fork might not. But my light is off to the side far enough that the shadow behind the wheel is off to the side far enough that it does not bother me. I just used a piece of threaded rod and some nuts to mount it.
The light being this low gives a lot of shadows for dips in the road, etc., so if I was going to use this very much I would raise the light up higher but for my errand bike for short shopping trips it is adequate.
It however hangs up on some bike racks at stores.