as far as i understand there is a problem with lutris runtime for nixos specifically. Its missing some libraries or not symlinking them correctly for nix or how its supposed to work. Apparently the problem is with libjansson and/or samba from runtime, at least lutris in-build debug console says that when running wow:
ntlm_auth: /home/reloner/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/4gcggjvzrbywi92r66p6l15hckxng2q0-samba-4.20.1/lib/samba/libcommon-auth-private-samba.so)
If it is the case - then its what causing problem with World of Warcraft mouse-look mode bug. Its been discussed quite a bit in nix community:
https://github.com/NixOS/nixpkgs/issues/320175
https://www.reddit.com/r/NixOS/comments/1bio04m/odd_mouse_capturewarping_issue_in_world_of/
https://github.com/NixOS/nixpkgs/issues/333806
https://discourse.nixos.org/t/solved-odd-mouse-capture-warping-issue-in-world-of-warcraft-on-nixos-specficially/41831
could i at least get to know: is it really a lutris runtime not playing well with nix, or it is a nixos missing something?
ps: right now a solution is to run flatpak lutris on nix, which doesnt have this problem