Tattoo gun with power supply