Default [Q][SOLVED] Custom ROM's specific for storage space?

Hi.
Are the custom ROM's specific for 16GB and 32 GB or independent of the storage space?
I want to buy one Nexus 5 but because I use to change the software, I need to know the better Nexus 5 version to do it.