As @chiraag said.
.config is a hidden folder in your home directory, inside there you should have
darktable. There you have
library.db with the list of imported images, their editing steps, ratings, metadata, … Then there is
data.db with styles, presets and tags. And
darktablerc with your settings. There is also a file for keyboard shortcuts and maybe some other stuff.