It's possible to do that by using a custom blueprint:
Open the advanced settings by clicking the "Advanced" button. Near the middle of the window should be "Read Blueprint" and below that a section of "Example Mining Blueprints".
If you're happy with the default layout, click the [Default] button to copy its blueprint, and stamp it down on an ore patch somewhere. Add the module slots you want to apply to the mining drills you placed, and then take make a new blueprint with the modules. Then take that blueprint and click it on the [Read Blueprint] button.
There currently seems to be a bug that's causing some issues, though, so you might need to try an unofficial updated version to get it to work right:
https://mods.factorio.com/mod/OutpostPlannerUpdated