It locates in /run/current-system/sw/share/sddm/themes. The sddm should provide 3 default themes like elarun,maldivesandmaya. I think that is not the key.
where-is-my-sddm-theme can work well. But I only found it can work well. With using journalctl -b|grep sddm I found the reason why they can’t work. The output:
âť® journalctl -b|grep sddm
Jan 30 10:36:39 NixOS sddm[1227]: Initializing...
Jan 30 10:36:39 NixOS sddm[1227]: Starting...
Jan 30 10:36:39 NixOS sddm[1227]: Logind interface found
Jan 30 10:36:39 NixOS sddm[1227]: Adding new display...
Jan 30 10:36:39 NixOS sddm[1227]: Loaded empty theme configuration
Jan 30 10:36:39 NixOS sddm[1227]: Using VT 1
Jan 30 10:36:39 NixOS sddm[1227]: Display server started.
Jan 30 10:36:39 NixOS sddm[1227]: Socket server starting...
Jan 30 10:36:39 NixOS sddm[1227]: Socket server started.
Jan 30 10:36:39 NixOS sddm[1227]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/sugar-dark/theme.conf"
Jan 30 10:36:39 NixOS sddm[1227]: The theme at "/run/current-system/sw/share/sddm/themes/sugar-dark" requires missing "/nix/store/afmsvbdbf12bfr3gymgcww6ws5d6qdd8-sddm-wrapped/bin/sddm-greeter" . Using fallback theme.
Could be because that theme uses qt5 and the installed version of sddm default only provides a qt6 greeter? Where-is-my-sddm theme also has a qt6 version and would therefore work. Previously, a qt5 version of sddm was available in nixpkgs, but it looks like it was dropped in pr.
Looks like the fork at link supports qt6. You could either wait until someone fixes the package in nixpkgs or override the theme package locally to use that fork. There are many threads on here on how to accomplish that.