···92 ${config.hardware.pulseaudio.package.out}/bin/pactl load-module module-x11-publish "display=$DISPLAY"
93 ''}
9495- # Tell systemd about our $DISPLAY. This is needed by the
96- # ssh-agent unit.
97- ${config.systemd.package}/bin/systemctl --user import-environment DISPLAY
0009899 # Load X defaults.
100 ${xorg.xrdb}/bin/xrdb -merge ${xresourcesXft}
···92 ${config.hardware.pulseaudio.package.out}/bin/pactl load-module module-x11-publish "display=$DISPLAY"
93 ''}
9495+ # Tell systemd about our $DISPLAY and $XAUTHORITY.
96+ # This is needed by the ssh-agent unit.
97+ #
98+ # Also tell systemd about the dbus session bus address.
99+ # This is required by user units using the session bus.
100+ ${config.systemd.package}/bin/systemctl --user import-environment DISPLAY XAUTHORITY DBUS_SESSION_BUS_ADDRESS
101102 # Load X defaults.
103 ${xorg.xrdb}/bin/xrdb -merge ${xresourcesXft}