GStreamer plugins unavailable to SDDM for Custom Theme on NixOS

Hello everyone,

I am working on a custom theme for SDDM that can play videos in the background. The theme works perfectly when I test it using:

sddm-greeter --test-mode --theme .

However, when I try to use it in the actual login screen, it fails to play the video. After several hours of debugging, I am confident the issue is related to missing GStreamer plugins, which seem to be unavailable during the login session.

Here’s the relevant journalctl log:

Oct 11 23:50:57 MDario sddm-greeter[1195]: Error: " filesrc location=/nix/store/xcslir9jw3plr071j0ish1xbc506pvxz-video.mp4 ! decodebin ! autovideosink" : "no element \"decodebin\""

Does anyone know how I can ensure that the required GStreamer plugins are available to SDDM during login on NixOS?

For reference, the theme I am working on is here: sddm-glacier.

Thanks in advance for any help or suggestions!