From bfaff0e30c92e483d75cd2115daf11c4cd0f24b3 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 2 Jun 2022 23:40:19 +0400 Subject: [PATCH] Fix mako to start on dbus activation --- overlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index 4107bdb..eb41d59 100644 --- a/overlay.nix +++ b/overlay.nix @@ -119,6 +119,6 @@ in rec { mako = prev.mako.overrideAttrs (_: { postInstall = - "sed 's/Exec=.*//' -i $out/share/dbus-1/services/fr.emersion.mako.service"; + "sed 's|Exec=.*|Exec=/run/current-system/sw/bin/systemctl --user start mako|' -i $out/share/dbus-1/services/fr.emersion.mako.service"; }); }