KDE Crash ... again : (
SOLVED - See EDIT 4, below.
EDIT: Not solved after all. The problem persists. : (
The system only begins working after starting a browser in the terminal, or tty and then getting a new captive portal lease. Once I have a new lease, I can click on one of the crash handler windows and click the Retry button. This brings back the panel and the wallpaper.
For those following along at home, I can now confirm the sequence of events. I have a machine that runs 24/7. If that machine happens to be sleeping when the Captive Portal lease expires, then when I subsequently wake the machine, that is when the wallpaper and the panel disappears and several instances of the Crash Handler warning messages pop up.
I would note that if this machine is in use, rather than sleeping, then the expiration of the Captive Portal lease causes no unusual symptoms, whatsoever.
The OP may be found here: [https://www.reddit.com/r/NixOS/comments/1pw3ne7/kde\_crash\_nukes\_the\_current\_generation\_and\_all/](https://www.reddit.com/r/NixOS/comments/1pw3ne7/kde_crash_nukes_the_current_generation_and_all/)
I have confirmed that if I first apply for a new Captive Portal lease before doing anything else, I am able to then click on the "Restart" button on one of the Crash Handler windows, then both the wallpaper and the panel reappear. And, given sufficient patience, the Crash Handler notifications eventually extinguish themselves.
If I do anything else, such as reboot the machine, prior to renewing the Captive Portal lease, then that is when my existing generations get nuked and become un-bootable.
It's far too late to be rebooting, tinkering with prior generations and updating the machine tonight at this late hour, but everything appears to be functioning normally at this time. I expect that I'll be able to confirm the status of the generations sometime later today (Saturday) and I will update this thread with any further details of interest, at that time.
Cheers!
EDIT:
I should note that this machine is currently on the 25.11 channel and the aforementioned symptoms are identical as they were last week, when the machine was on the unstable channel. That said, the machine never exhibited this behavior when it was on the 25.05 channel. Obviously, something has changed, eh?
EDIT 2:
I had a request for the config. Frankly, there isn't much to look at, as this is a relatively new installation. I'll post the flake here, since it's small and a link to the configuration.nix file can be found below:
# flake.nix
{
description = "My initial flake";
inputs = { nixpkgs = { url = "github:NixOS/nixpkgs/nixos-25.11"; #url = "github:NixOS/nixpkgs/nixos-unstable"; }; };
outputs = { nixpkgs, self, ... }: let lib = nixpkgs.lib; in { nixosConfigurations = { pocomoke = lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix ]; }; }; };
}
The configuraiton.nix file can be viewed here: [https://pastebin.com/XLgJDtSv](https://pastebin.com/XLgJDtSv)
EDIT 3:
Here are some interesting journal entries (filtered on the "Plasma" keyword) for December 28: [https://pastebin.com/ub41cZLH](https://pastebin.com/ub41cZLH)
There is a bit of fuss about the Weather widget in the panel and it is obviously unhappy about the clock. There is also the mention of an incompatible library, but in all frankness, I have only glanced at this output thus far.
EDIT 4:
\# SOLVED: KDE crashes "nuking" all generations
Finally figured this out with a considerable amount of help, from the brilliant u/barrulus , to whom I am extremely grateful!
\*\*The problem:\*\* KDE Plasma saves absolute \`/nix/store/...\` paths in your config files. When you switch channels (e.g., 25.05 → unstable), those old paths point to incompatible library versions → crash. Since all generations share \`\~/.config\`, they all crash.
\*\*Find the culprit:\*\* \`\`\`bash grep -rn "/nix/store.\*6\\.3\\." \~/.config/plasma\* 2>/dev/null \`\`\`
Mine had old 6.3.6 wallpaper paths while running Plasma 6.5.x.
\*\*Fix it:\*\* \`\`\`bash sed -i 's|/nix/store/\[\^/\]\*-plasma-workspace-wallpapers-\[\^/\]\*/share/wallpapers|/run/current-system/sw/share/wallpapers|g' \~/.config/plasma-org.kde.plasma.desktop-appletsrc
sed -i 's|/nix/store/\[\^/\]\*-breeze-\[\^/\]\*/share/wallpapers|/run/current-system/sw/share/wallpapers|g' \~/.config/plasma-org.kde.plasma.desktop-appletsrc \`\`\`
This replaces the hardcoded store paths with \`/run/current-system/sw/...\` which follows whatever generation you boot.
Reboot into your "broken" generation — should work now.