Merge pull request #88101 from adisbladis/dbus-session-bus

nixos/display-managers: Use dbus socket unit shipped by upstream
This commit is contained in:
adisbladis 2020-05-19 02:46:36 +02:00 committed by GitHub
commit 740f4ba1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ let
${optionalString cfg.startDbusSession ''
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
exec ${pkgs.dbus.dbus-launch} --exit-with-session "$0" "$@"
${config.systemd.package}/bin/systemctl --user start dbus.socket
fi
''}