Small air compressors are excellent for such tools, so they can easily run a nail gun. To give you an idea: with a 2 CFM at 90 PSI air compressor, you can power a large nail gun and have it reach 15 nail drives/minute.
You can use a pancake-style portable air compressor with a 6-gallon tank for nail guns.