config: make many packages optional