How to install drivers for GTX 1050 on Fedora Silverblue?

If anyone in the future will come across this thread:

  • rpm-ostree update
  • reboot
  • sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm;
  • sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
  • reboot
  • flatpak update