I've found a few guides but most of them or hard to understand or poorly written, I've done pass trough on proxmox and Arch Linux.
I tries this guide but no luck
https://astrid.tech/2022/09/22/0/nixos-gpu-vfio/
All about NixOS - https://nixos.org/