nixpkgs/overlays/dunst/systemd-service.patch
Daniel Siepmann 1f2b324435
Extend nixpkgs dunst systemd service
The service can not be enabled, as it doesn't contain the ``[Install]``.
The overlay patches that two lines to the service.

That's to my current knowledge.
2022-02-01 17:56:44 +01:00

12 lines
325 B
Diff

diff --git a/dunst.systemd.service.in b/dunst.systemd.service.in
index 9fa168c..5ac2217 100644
--- a/dunst.systemd.service.in
+++ b/dunst.systemd.service.in
@@ -7,3 +7,6 @@ PartOf=graphical-session.target
Type=dbus
BusName=org.freedesktop.Notifications
ExecStart=##PREFIX##/bin/dunst
+
+[Install]
+WantedBy=default.target