Add an abstract environment 'defaults' in config for DRY

Fixes #249.