Civil rights groups filed a federal lawsuit on Thursday accusing Nassau County and Garden City of perpetuating segregation through new zoning restrictions on 25 acres of prime real estate here scheduled for upscale development .