config: make config a self-contained pkg