1. installation:
dnf install dnf-automatic -y
2. configuration:
/etc/dnf/automatic.conf
upgrade_type = security download_updates = yes apply_updates = yes
3. start and enable the service
systemctl start dnf-automatic.timer systemctl enable dnf-automatic.timer