It's possible to set
$CFG->forcedefaultmymoodle = true;
Is it also possible to define the dashboard blocks in code?
I imagined something like:
$CFG->forced_plugin_settings = [ 'mymoodle' => [ 'blocks' => 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity' ] ];
I've been digging for some time but haven't found a way of doing this.