Struggling to get display tablet working on Krita in NixOS

Type of device* : Display Tablet
Brand and version of the device: Lenovo ThinkVision M14t
System** : NixOS/GNOME desktop environment

* graphics tablet/display tablet/2-in-1 laptop/Android tablet
** Windows/Linux/Mac/Android, + version (you’ll find it in Help -> Show system information for bug reports)


Description of the issue (you can include screenshots):

I’m new to Krita and I’m trying to use it with my ThinkVision M14t. Touch input works fine, the mouse pointer tracks with the stylus, but actual stylus events are completely untracked in the app. This doesn’t seem to be an issue in the OS, as the stylus functions fine within the tester utility in the GNOME settings app and it works fine in Inkscape.

I have the Krita tablet settings at their default settings. I’m not sure what’s up and I’d love some help :sob:

This is a screenshot of the Krita tablet tester after a significant amount of scribbling with the stylus :thinking:

I think it may be this issue with xwayland Touchscreen stylus not working on Gnome 50