The few times I shot fireworks I did so by using the bulb setting, keeping the shutter open and covering the lens with a piece of dark cardboard - lens pointed to sky, focus set to infinity.
When lightening appears simply move the cardboard out of the way.
The good thing about this technique is with digital you can check your results immediately and make fine adjustments on the fly.
Nikonians®, NikoScope® and NikoniansAcademy™ are trademarks owned by Nikonians.org.
Nikon®, Nikonos® and Nikkor® are registered trademarks of Nikon Corporation.