From 3629b9465fbf46be2fc30a90292aa7101e5c92ca Mon Sep 17 00:00:00 2001 From: Joao Porta Date: Thu, 30 Jul 2026 16:23:11 -0300 Subject: [PATCH] ntfy --- modules/home-manager/ntfy-notify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/ntfy-notify/default.nix b/modules/home-manager/ntfy-notify/default.nix index c76b83a..3f130e5 100644 --- a/modules/home-manager/ntfy-notify/default.nix +++ b/modules/home-manager/ntfy-notify/default.nix @@ -56,7 +56,7 @@ in subscribe: '' + lib.concatMapStringsSep "\n" (sub: let - cmd = "notify-send -a Kanban -u ${sub.priority} \"Kanban Update\" \"$m\""; + cmd = "${lib.getExe pkgs.libnotify} -a Kanban -u ${sub.priority} \"Kanban Update\" \"$m\""; in " - topic: ${cfg.server}/${sub.topic}\n" + " command: ${cmd}" @@ -71,7 +71,7 @@ in }; Service = { Type = "simple"; - ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe"; + ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe --from-config"; Restart = "on-failure"; RestartSec = 10; };