nixos/display-managers: Also set DBUS_SESSION_BUS_ADDRESS in the wrapper script context
This commit is contained in:
parent
3e66d4e12e
commit
0f1eb8cd79
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ let
|
|||
${optionalString cfg.startDbusSession ''
|
||||
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||
${config.systemd.package}/bin/systemctl --user start dbus.socket
|
||||
export `${config.systemd.package}/bin/systemctl --user show-environment | grep '^DBUS_SESSION_BUS_ADDRESS'`
|
||||
fi
|
||||
''}
|
||||
|
||||
|
|
Loading…
Reference in a new issue