From c613f5b23418c5b68c6116ec22ce46d1a1fb42a2 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:06:01 +0100 Subject: fix(systemd): ship mako.service user unit The nix mako package does not ship a systemd user unit on the user manager's search path, so sway-session.target's Wants=mako.service referenced a non-existent unit after the pacman->nix migration (previously the Arch mako package provided /usr/lib/systemd/user/ mako.service). mako only started on first D-Bus notification, never eagerly at session login. Add a repo-owned mako.service (Type=dbus, org.freedesktop.Notifications) using the absolute nix-profile path, matching the other sway-session units, and register it in systemd-units/user.txt. --- dot_config/systemd/user/mako.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dot_config/systemd/user/mako.service (limited to 'dot_config/systemd/user/mako.service') diff --git a/dot_config/systemd/user/mako.service b/dot_config/systemd/user/mako.service new file mode 100644 index 0000000..caa256d --- /dev/null +++ b/dot_config/systemd/user/mako.service @@ -0,0 +1,17 @@ +[Unit] +Description=Lightweight notification daemon for Wayland +Documentation=man:mako(1) +PartOf=graphical-session.target +After=graphical-session.target +ConditionEnvironment=WAYLAND_DISPLAY + +[Service] +Type=dbus +BusName=org.freedesktop.Notifications +ExecStart=%h/.nix-profile/bin/mako +ExecReload=%h/.nix-profile/bin/makoctl reload +Restart=on-failure +RestartSec=2s + +[Install] +WantedBy=sway-session.target -- cgit v1.3.1