From Fedora Project Wiki

this also seems to work in f28 KDE 'dnf install fedora-workstation-repositories' installs the extra third party repositories on the command line and makes the .repo files available in /etc/yum.repos.d/.