Fedora 38 doesn't recognize second monitor

Hello everybody.
First time Linux user here, switched to Fedora from Windows 10 and running into some problems.
My second monitor is not getting recognized. I thought it was maybe due to driver issues. Followed a guide on the internet on how to install Nvidia drivers on Fedora which bricked my system two times, didn’t boot anymore after the reboot at the end to finish the process.
I also think that - next to my second monitor not being recognized - my main monitor’s max refresh rate is not being used (it’s a 144hz monitor but doesn’t feel like it’s set to 144hz currently).
Can anybody help me troubleshoot this and set my second monitor up?
My inxi -Fzxx, since I saw this being requested on other threads regarding troubleshooting issues on Linux:

[gabriel@fedora ~]$ inxi -Fzxx
  Kernel: 6.2.9-300.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Desktop: GNOME v: 44.0 tk: GTK v: 3.24.37 wm: gnome-shell
    dm: GDM Distro: Fedora release 38 (Thirty Eight)
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING A520M-PLUS II v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 3002
    date: 02/24/2023
  Device-1: hidpp_battery_0 model: Logitech Marathon Mouse/Performance Plus
    M705 serial: <filter> charge: 55% (should be ignored) status: discharging
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2388 high: 3700 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 2200 3: 2200 4: 2294 5: 2200 6: 2196 7: 2200 8: 2189 9: 3700
    10: 2200 11: 2200 12: 2880 bogomips: 88806
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Device-1: NVIDIA GA102 [GeForce RTX 3070 Ti] vendor: ASUSTeK driver: N/A
    arch: Ampere pcie: speed: 8 GT/s lanes: 16 bus-ID: 08:00.0
    chip-ID: 10de:2207
  Device-2: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2:3 chip-ID: 0c45:6366
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: dri: swrast gpu: N/A display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96
  Monitor-1: Unknown-1 mapped: XWAYLAND0 res: 2560x1440 dpi: 96
  API: OpenGL v: 4.5 Mesa 23.0.1 renderer: llvmpipe (LLVM 16.0.0 256 bits)
    direct-render: Yes
  Device-1: NVIDIA GA102 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 08:00.1 chip-ID: 10de:1aef
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.4 chip-ID: 1022:1487
  Device-3: C-Media Anua Mic CM 900 driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-7:4 chip-ID: 0d8c:0134
  Device-4: Microdia Webcam Vitade AF driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2:3 chip-ID: 0c45:6366
  API: ALSA v: k6.2.9-300.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.67 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Local Storage: total: 1.84 TiB used: 3.66 GiB (0.2%)
  ID-1: /dev/nvme0n1 model: Fastro MS150-1TB size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 62.9 C
  ID-2: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-1: / size: 952.28 GiB used: 3.46 GiB (0.4%) fs: btrfs dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 180 MiB (18.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 952.28 GiB used: 3.46 GiB (0.4%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  System Temperatures: cpu: 46.9 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 776 Uptime: 2m Memory: available: 31.24 GiB
  used: 3.34 GiB (10.7%) Init: systemd v: 253 target: graphical (5)
  default: graphical Compilers: N/A Packages: pm: rpm pkgs: N/A
  note: see --rpm Shell: Bash v: 5.2.15 running-in: gnome-terminal
  inxi: 3.3.27

Regarding currently installed drivers:

[gabriel@fedora ~]$ dnf list installed '*nvidia*'
Installed Packages
nvidia-gpu-firmware.noarch              20230625-151.fc38               @updates


[gabriel@fedora ~]$ dmesg | grep secure
[    0.000000] secureboot: Secure boot enabled
[    0.004579] secureboot: Secure boot enabled

Thanks in advance!

Had to disable Secure Boot and then download the drivers with

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

Hope this can help someone who encounters this problem in the future!