1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules
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
..
accounts git: set SSL if useStartTls is false 2020-08-13 21:36:31 +02:00
files files: make sure the target file name is escaped 2020-08-29 18:22:03 +02:00
home-environment home-environment: add option home.sessionPath 2020-10-05 21:06:42 +02:00
misc xdg: disambiguate home.file attribute names 2020-10-22 23:51:01 +02:00
programs waybar: fix systemd service 2020-12-01 23:07:39 +01:00
services wlsunset: add module 2020-12-01 21:46:46 +01:00
systemd systemd: use listsAsDuplicateKeys 2020-10-25 22:55:06 +01:00
targets-darwin tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00
targets-linux generic-linux: add option extraXdgDataDirs 2020-09-11 12:26:55 +02:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00