There are a lot of considerations to indoor greenhouse growing of herbs, etc.
Lighting spectrum has some impact as already pointed out.
Also, the intensity of the light determines the distance in combination with the lighting requirements of the particular herb or plant you're trying to grow (think shade, part shade, full sunlight).
Best thing I ever did was visit
Klima-Gro ... the intelligent indoor greenhouse. and buy their Classic and Majestic indoor greenhouses.
They use bulbs that simulate sunlight. They have built in timers. To prevent flowering, the light should be on about 18 hours/day. To induce flowering, reduce lighting to 12 hours/day.
They have built in heaters in the dirt and a built-in temperature meter to tell you what the bed temp is. They have a moisture sensing wand attached to a panel meter, so you can test for proper moisture content (read: cactii favor drier bed than basil or rosemary, for instance).
They have adjustable shelves.
They have auto safety glass sliding windows, top and sides.
They have built in fans for air circulation.
They're beautiful to behold.
They work.
I grow anything I need for cooking in them, practically. Full size tomatoes are tricky, though! :)
I've had mine for years now, and they also are nice early morning night lights as they span the 18 hour time period, which means they come on before I get up, so I can see without searching for a light switch.
They're totally self-contained, and I've seen them in institutional settings where they had butterflies living in them, or cactii, or even a plethora of compatible small creatures, besides being primarily intended as all year indoor greenhouses.
They're also self draining.
doc