Closed iuribrindeiro closed 3 months ago
Might be worth looking at https://github.com/NixOS/nixpkgs/pull/296682, since this PR works for me.
Hello @iuribrindeiro, check the package you use for sddm. When using plasma6, it changes the version of sddm.
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
package = pkgs.kdePackages.sddm;
theme = "catppuccin-mocha";
extraPackages = with pkgs.kdePackages; [
breeze-icons
kirigami
plasma5support
qtsvg
qtvirtualkeyboard
];
};
Since the upstream package has been merged, I assume it has been fixed. Please do let me know if it works.
This doesn't work for me either. In fact, this only works for NixOS users that use Qt (which I don't). I had to remove this line to get the theme to work. This tells me that we should remove this line from here and manage Qt support within the install phase of the catppuccin-sddm package instead (it should be opt in, I believe).
Just to reiterate my point from https://github.com/catppuccin/nix/pull/168#issuecomment-2111754109, such that everyone here can see it.
This seems like an issue you should take up with the upstream packager (nixpkgs). Since sddm is under the KDE banner so it makes sense for the catppuccin-sddm theme (and its maintainer, me) to ship it with the qt-platform set to 6 by default.
The theme doesn't seem to work if the
metadata.desktop
holds theQtVersion=6
, as added in this PR.After manually changing it to
QtVersion=5
it just works. I'm not really sure why is this, but I wanted to leave this here in case someone else has the same issue.My solution: