No display environment specified after update

After updating my system a few days ago it no longer boots to my desk top. Instead it boots directly to the tty1 log in screen. When I try to start Firefox from the terminal it says “no display environment variable specified.” I have tried updating a few times over the past two days, but none of the updates seem to have corrected the issue. I have also tried downgrading my nvidia drivers, however the issue persists on old drivers as well. I am very new to Linux. any suggestions would be greatly appreciated. (Prior to the initial update that started this issue everything seemed to be working fine.)

Do you have the display manager systemd service set up? gdm.service, lightdm.service, etc

systemctl status

Or is DISPLAY not set?

echo $DISPLAY

If for whatever reason the display manager got disabled then enable it with

systemctl enable --now <display_manager>

Otherwise

sudo cachyos-bugreport.sh

I have no clue what I managed to mess up but downloading and enabling sddm fixed it. Thanks a million.