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?