A couple of changes as recommended by James:

Removed nREPL dependency from the lein plugin
Only add the nREPL dependency to the project if it requires it
Change the configuration to use a single map