catppuccin/nix

SDDM Themeing broke

Closed this issue · 5 comments

All i can say for sure is that before the renaming of "flavour" to "flavor" the themeing worked, and after i saw the error being caused by the rename and fixed them, then upgraded it no longer was themed. It looks like the default SDDM Theme, so not the Plasma6 theme or anything, just the default default one.

I will attach a screenshot below, just need to figure out how to do that part.

PXL_20240523_170435447~2.jpg

Couldn't figure out how to make a screenshot from sddm without much extra work. So a simple photo it is

sddm.conf

❯ cat /etc/sddm.conf 
[General]
DefaultSession=plasma.desktop
DisplayServer=wayland
GreeterEnvironment=LANG=C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell
HaltCommand=/run/current-system/systemd/bin/systemctl poweroff
InputMethod=
Numlock=on
RebootCommand=/run/current-system/systemd/bin/systemctl reboot

[Theme]
Current=catppuccin-mocha
FacesDir=/run/current-system/sw/share/sddm/faces
ThemeDir=/run/current-system/sw/share/sddm/themes

[Users]
HideShells=/run/current-system/sw/bin/nologin
HideUsers=nixbld1,nixbld10,nixbld11,nixbld12,nixbld13,nixbld14,nixbld15,nixbld16,nixbld17,nixbld18,nixbld19,nixbld2,nixbld20,nixbld21,nixbld22,nixbld23,nixbld24,nixbld25,nixbld26,nixbld27,nixbld28,nixbld29,nixbld3,nixbld30,nixbld31,nixbld32,nixbld4,nixbld5,nixbld6,nixbld7,nixbld8,nixbld9
MaximumUid=30000

[Wayland]
CompositorCommand=/nix/store/ccq5hvsxc832qv56vsdgllg9c75559xr-kwin-6.0.4.1/bin/kwin_wayland --no-global-shortcuts --no-kactivities --no-lockscreen --locale1
EnableHiDPI=true
SessionDir=/nix/store/fv24xx06jyq5c0d2idw8qqig2pqg3bnh-desktops/share/wayland-sessions

[X11]
DisplayCommand=/nix/store/p5lav04ppa1844r2jn1534qm0fs582d2-Xsetup
DisplayStopCommand=/nix/store/ib5ak7pyc3daypvvq1sycq83awz516x2-Xstop
EnableHiDPI=true
MinimumVT=7
ServerPath=/nix/store/787vfbb97j1bl5217iv6gql9n6s4awzl-xserver-wrapper
SessionCommand=/nix/store/ar36n7wr14050isypp6440gnpf7lkpwr-xsession-wrapper
SessionDir=/nix/store/fv24xx06jyq5c0d2idw8qqig2pqg3bnh-desktops/share/xsessions
XauthPath=/nix/store/lxwa7w70v4460x4smpsyzw098l87vn7i-xauth-1.1.3/bin/xauth
XephyrPath=/nix/store/0c9wn8nb04qs9kyh2zhll4wzjmp0fmag-xorg-server-21.1.13/bin/Xephyr

The relevant parts of my nix flake:

services = {
    xserver.enable = true;
    displayManager = {
      sddm = {
        enable = true;
        autoNumlock = true;
        wayland.enable = true;
      };
      defaultSession = "plasma";
    };
    desktopManager.plasma6.enable = true;
  };
  
  catppuccin.enable = true;
  catppuccin.flavor = "mocha";
  catppuccin.accent = "pink";

Do you mind also checking the contents of /run/current-system/sw/share/sddm/themes?

❯ ls /run/current-system/sw/share/sddm/themes
breeze  elarun  maldives  maya

I think this seems to be the issue, the mocha theme isnt there for some reason.

ok I understood the cause