Merge pull request #88101 from adisbladis/dbus-session-bus
nixos/display-managers: Use dbus socket unit shipped by upstream
This commit is contained in:
commit
740f4ba1ad
@ -39,7 +39,7 @@ let
|
|||||||
|
|
||||||
${optionalString cfg.startDbusSession ''
|
${optionalString cfg.startDbusSession ''
|
||||||
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
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
|
fi
|
||||||
''}
|
''}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user