Support importing environment variables from environment.d
systemd provides a desktop diagnostic place for user to set environment variables. Currently we only export to it but didn't import from it. GDM already has support for importing the variable from it, as KDE it's also nice to have support for this.
Edited by Xuetian Weng