Actually a sessionrc.photo and sessionrc.drawing
Then from memory you can also use an environment variable to make Gimp use a completely different user profile (with a different sessionrc of course, but also different add-ons (brushes, gradients, scripts, plugins....))