[nsd] depend on config (fixes #309)