Wayland session Since Wayland does not initiate any Xorg related files, GDM and KDE Plasma source systemd user environment variables instead.
~/.config/environment.d/envvars.conf
GUI_VAR=value
using systemctl show-environment or the underlying D-Bus call.
Configuration files in the environment.d/ directories contain lists of environment variable assignments passed to services started by the systemd user instance.