This ticket aims to provide the ability to custom default settings for the `publishDir` directive via the `nextflow.config` file. The default settings should be provided using the `nextflow.defaults.publishDir` configuration scope. For example: ``` nextflow { defaults { publishDir = [mode: 'copy', enabled: false] } } ``` When provided, they should override the built-in default settings and applied when creating a [PublishDir](https://github.com/nextflow-io/nextflow/blob/3051cd13da0298eaca142509ac05c7080a1c4328/modules/nextflow/src/main/groovy/nextflow/processor/PublishDir.groovy#L169-L200) instance.