There's a 1000 inhabitants per vault and they can grow their own food. People are assigned different duties and kids go to school. They must have had a lot of spareparts to be able to do continous repairs over such a long period of time I guess. By the time of Fallout 1, 80 years after the war...