From 60ed46689c92f71da341144ee9a7b1fbd977c673 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 1 Apr 2026 15:37:49 +0200 Subject: [PATCH] fix: use unescaped %I in ntfy failure notification script %i passes the escaped unit name which systemctl status cannot resolve, causing "Failed to mangle name" errors. Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/nixos/services/systemd-email-notify/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/systemd-email-notify/default.nix b/modules/nixos/services/systemd-email-notify/default.nix index 0cdce43..874d0be 100644 --- a/modules/nixos/services/systemd-email-notify/default.nix +++ b/modules/nixos/services/systemd-email-notify/default.nix @@ -117,7 +117,7 @@ in ${cfg.ntfy.url}/${cfg.ntfy.topic} ''; }; - scriptArgs = "%i"; + scriptArgs = "%I"; }; }) ]);