You do not need a big compressor to drive pneumatic nailers. My favorite is a 25 lb Senco that is rated maybe 1/2 hp, has a 1 gallon tank.
https://www.amazon.com/Senco-PC1010-...nco+compressor I've used it with my flooring nailer and framing nailer but with those, I have to nail fairly slowly but for small jobs, it is not a problem worth solving by dragging in my bigger compressor. For nailers up through 15 gauge, I can nail as fast as I want. It's also pretty quiet but if you are putting it in a closet, that doesn't matter. Anything this size or bigger will work for nailers.