Possible to use sway with NVIDIA proprietary driver

Hi, is this something that is somehow possible? I followed nvidia page for nixos (it is working properly with hyprland), but for sway I get message that I should use noveau or use --unsupported-gpu flag. If I use that, I am able to start sway, but there is mega screen tearing. So I was wondering, was someone able to somehow solve that or is it just not possible?

I just happened to try it out last night and it works great here. I tried watching a video, kerbal space program and used waydroid to play an android game. All with no tearing issues. Here is my nvidia-smi:

󰰸 ➜ nvidia-smi
Sun Jun 16 12:46:32 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   59C    P8             11W /   80W |      10MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      4471      G   ...nm62yj8-sway-unwrapped-1.9/bin/sway          3MiB |
+-----------------------------------------------------------------------------------------+

EDIT: and I follow this How to Enable Wayland on NixOS, or: Confusion, Conquest, Triumph