Open Luna-Skye opened 2 months ago
This has been mentioned before, but I can't find the comment to link to it.
This happens because the plasma tools try to connect to a service running in the Plasma session to change the wallpaper.
When Plasma isn't installed, this is not a problem since we detect that the tools aren't there and don't try to run the command.
Possible fixes could be:
Using NixOS Unstable + Home Manager, with Plasma 6 installed but mostly running Hyprland, I still rely on a lot of KDE software and am letting stylix auto-enable targets.
When rebuilding a minimal stylix config (just image and polarity) from Hyprland, Home Manager throws an error about not being able to set the Plasma wallpaper and fails to switch to the new hm environment.
Disabling
stylix.targets.kde.enable
provides a workaround as expected, but at the cost of themes for Qt apps.Rebuilding from a Plasma session succeeds.
Log
systemctl status
info printed when hm fails