home-manager/tests/modules/programs/waybar
Blaž Hrastnik 0654364426
waybar: fix systemd service
The current definition makes waybar wait for dbus.service, but that
never happens because dbus.service is started on demand by
dbus.socket.

Per systemd docs:
  https://www.freedesktop.org/software/systemd/man/systemd.service.html#Implicit%20Dependencies

- Services with Type=dbus set automatically acquire dependencies of
  type Requires= and After= on dbus.socket.

- Socket activated services are automatically ordered after their
  activating .socket units via an automatic After= dependency.
  Services also pull in all .socket units listed in Sockets= via
  automatic Wants= and After= dependencies.

Removing Requisite/After makes the service properly start for me,
simply specifying Type=dbus is enough.

See #1370
2020-12-01 23:07:39 +01:00
..
broken-settings.nix tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00
default.nix tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00
settings-complex-expected.json waybar: add module 2020-08-14 00:20:49 +02:00
settings-complex.nix waybar: add module 2020-08-14 00:20:49 +02:00
styling-expected.css waybar: add module 2020-08-14 00:20:49 +02:00
styling.nix waybar: add module 2020-08-14 00:20:49 +02:00
systemd-with-graphical-session-target.nix waybar: add module 2020-08-14 00:20:49 +02:00
systemd-with-graphical-session-target.service waybar: fix systemd service 2020-12-01 23:07:39 +01:00