I installed NixOS choosing Plasma (KDE) and then activated Wayland and installed firefox-wayland. Firefox is not properly integrated into KDE:
Windows decorations are from Gnome (GTK?) and not KDE
The mouse cursor does not scale and looks different over Firefox windows. I am using a 200% scaling and the cursor changes to the small, unscaled, size. The cursor becomes tiny and hard to see. It also does not use the KDE style
Outside of Firefox window:
Inside Firefox window:
I checked the Wiki pages for Firefox and KDE and applied the Wayland settings suggested in the Firefox page but it did not resolve my issues.
How can I make Firefox use KDE window decorations and the normal KDE cursor with scaling?
In the meantime I had extended my configuration and my cursor size problem was resolved. I don’t know what solved it though. The theming problem persists.
I am also interested in this problem
Other distros (Debian-based, Fedora, Arch…) have a gtk3-nocsd package that fixes the window decorations, but Nix doesn’t (and given the dependency model of Nix it may not be trivial)
Any ideas ?