I use nixos, and standalone home-manager, and plasma-manager.
The main symptom
KDE connect broke:
❯ kdeconnect-app
qrc:/qt/qml/org/kde/kdeconnect/app/WelcomePage.qml:13:1: QML WelcomePage: Created graphical object was not placed in the graphics scene.
Cannot mix incompatible Qt library (6.8.2) with this library (6.9.1)
KCrash: Application '.kdeconnect-app-wrapped' crashing... crashRecursionCounter = 2
[1] 26993 IOT instruction (core dumped) kdeconnect-app
Interestingly, system monitor tells me that I have Qt version 6.8.2 and KDE Plasma Version 6.3.3. and KDE Frameworks Version 6.12.0.
The most likely issue
I installed kdeconnect with homemanager.
But home-manager.inputs.nixpkgs.follows = "nixpkgs";, so I don’t see why this should be a problem.
I have kate installed both for the entire system as well as with home-manager. Look at this:
❯ ls -lisa /run/current-system/sw/bin/kate
30286670 4 lrwxrwxrwx 2 root root 65 1. Jan 1970 /run/current-system/sw/bin/kate -> /nix/store/07sxmymcldi48icr7b2ys9vjamklbvsx-kate-24.12.3/bin/kate
ls -lisa ~/.nix-profile/bin/kate
31199874 4 lrwxrwxrwx 6 root root 65 1. Jan 1970 ~/.nix-profile/bin/kate -> /nix/store/gswxcv4s4kmcrc7069lpqashvhpics6l-kate-25.08.0/bin/kate
This kinda smells bad, yet I have no idea how it happened and how to make them sync again.
Some more stuff, most likely unrelated
Possibly related github issue, but on the other hand this should be too old to be relevant now.
Another possibly related bug, but I just manually deleted all ~/.cache/$something/qmlcache and the error doesn’t really change. (Although I’m not sure whether there might be some different cache directory I forgot.)
One more possibly related issue now that I think about it, some stylings are broken sometimes, mainly kate. Since this is a kde app, it shouldn’t be this issue. On the other hand, why would it somehow not use the Breeze style that I applied everywhere?
Update
I deleted the flake.lock in both the private and the public repo, updated everything, there is a single version of nixpkgs in there now, and yet, all the issues persist :/
Update 2
After booting, I have a nixos 25.05. After doas nixos-rebuild switch --flake . I have a nixos 25.11. I have absolutely no idea why this isn’t persistent, and why it’s wrong after the next booting. the hell.
