diff --git a/modules/nixos/services/alertmanager.nix b/modules/nixos/services/alertmanager.nix index 9a43904..a610b90 100644 --- a/modules/nixos/services/alertmanager.nix +++ b/modules/nixos/services/alertmanager.nix @@ -83,10 +83,7 @@ in notification = { topic = "splitleaf"; priority = "default"; - templates = { - title = ''{{ if eq .Status "firing" }}{{ index .Annotations "summary" }}{{ else }}{{ index .Annotations "summary_resolved" }}{{ end }}''; - description = "."; - }; + templates.title = ''{{ if eq .Status "firing" }}{{ index .Annotations "summary" }}{{ else }}{{ index .Annotations "summary_resolved" }}{{ end }}''; tags = [ { condition = ''status == "resolved"'';