I'm just getting back on the bike after 30+ years away. Had no idea where to begin so I bought a Blackburn 2'FER white/red flasher for the front handlebar. I already had a blinking red LED clipped to my hat. If I get a serious front light I'll move the 2'FER to the rear.
I like being able to choose my own rechargeable NiMH our Eneloops so that will factor into whatever I chose for a more serious front light.
Used to put an ordinary bottle generator on the 1976 Motobecane Mirage for commutes, which were often at night, and took it off for long distance daylight rides (a couple of times a year). It felt a little sluggish, sure, but did the job.
If I get serious about biking again I'll look for a utility/commute bike with built in generator for my next bike.