eyeballs in rigify

I have this character with eyes balls and lids, I got rigify to work good, but the eye balls and eyelids are not attached in rigify, how do I make the eyes stay put

Set eyeball and eyelid bones a child of head bone.

I guess I have to do it before I initiate generate?

I’d do it after. You want it to be a child of the rig’s head bone, not the metarig’s. The metarig is just the template that tells rigify what to build. The generated rig is the one you end up using.