mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
nixos/display-managers: Also set DBUS_SESSION_BUS_ADDRESS in the wrapper script context
This commit is contained in:
parent
3e66d4e12e
commit
0f1eb8cd79
@ -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 New Issue
Block a user