This commit is contained in:
2026-07-30 16:23:11 -03:00
parent 9b763743bd
commit 3629b9465f
+2 -2
View File
@@ -56,7 +56,7 @@ in
subscribe: subscribe:
'' + lib.concatMapStringsSep "\n" (sub: '' + lib.concatMapStringsSep "\n" (sub:
let 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 in
" - topic: ${cfg.server}/${sub.topic}\n" " - topic: ${cfg.server}/${sub.topic}\n"
+ " command: ${cmd}" + " command: ${cmd}"
@@ -71,7 +71,7 @@ in
}; };
Service = { Service = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe"; ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe --from-config";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 10; RestartSec = 10;
}; };