The below are informational “How To’s” which I wrote before I became familiar with the ‘sudo dnf config-manager --set-enabled/disabled’ command.
https://forum3.openmandriva.org/t/how-and-why-to-edit-repositories-for-dnf-lx-4-0-and-cooker/2246
And just for fun:
https://forum3.openmandriva.org/t/how-to-use-dnf-lx-4-0-and-cooker/2305