This has happened before to me and I fixed it by reinstalling my os, I don’t want to do it anymore.
I get
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
when doing lspci | grep VGA
And
==> Unable to remove module nvidia/465.27 for kernel 5.12.2-1-MANJARO: Not found in dkms status output.
==> Unable to remove module nvidia/465.27 for kernel 5.9.16-1-MANJARO: Not found in dkms status output.
:: Elaborazione delle modifiche al pacchetto...
(1/1) reinstallazione nvidia-dkms [######################] 100%
:: Esecuzione degli hook di post-transazione...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> Unable to install module nvidia/465.27 for kernel 5.12.2-1-MANJARO: Missing kernel headers.
==> Unable to install module nvidia/465.27 for kernel 5.9.16-1-MANJARO: Missing kernel headers.
when trying to install nvidia
or nvidia-dkms