Defining your personal “root” for raw-images only need to be done once. I remember several discussions between the developers at Pulse · darktable-org/darktable · GitHub and/or Issues · darktable-org/darktable · GitHub. For further information and pro’s and con’s of different implementations you can search for “import” at this sites.