You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using an impermanence-setup for my home directory,
which means that the onChange hook is executed on every boot during the activation via the systemd service.
At this point, the session bus does apparently not yet exist but makoctl tries to use it leading to:
busctl: Failed to set bus address: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
My current workaround is
xdg.configFile."mako/config".onChange=letdbus-send="${pkgs.dbus}/bin/dbus-send";makoctl="${config.services.mako.package}/bin/makoctl";grep="${pkgs.gnugrep}/bin/grep";inlib.mkForce'' if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then if ${dbus-send} --print-reply --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.GetServerInformation | ${grep} -q "mako"; then${makoctl} reload fi fi'';
but i am not sure if this is the best solution compared to e.g. checking that an instance of mako is running by using pgrep.
PS: As far as i understand, this is a similar root cause to #3172
Are you following the right branch?
Is there an existing issue for this?
Issue description
I am currently using an impermanence-setup for my home directory,
which means that the onChange hook is executed on every boot during the activation via the systemd service.
At this point, the session bus does apparently not yet exist but
makoctl
tries to use it leading to:My current workaround is
but i am not sure if this is the best solution compared to e.g. checking that an instance of mako is running by using pgrep.
PS: As far as i understand, this is a similar root cause to #3172
Maintainer CC
@onny
System information
The text was updated successfully, but these errors were encountered: