most ppl use cfls on power cord to light a pc grow box,http://www.pcgrowcase.com/vegbox.htm kinda like that, and to power the fan u can use a ac/dc coverter or the power supply of the pc
If you want an example you can check out my grow, i recently finished my PC case i have my power strip taped to very strong magnets and the light bulb sockets attached to the strip allowing me to adjust the light to the right height.