From 8a5e92bb7eb6b3926209491ff08322e3ac7d6530 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 8 Jun 2025 10:04:02 +0200 Subject: [PATCH] Use normal environmentFile option Set topic ntfy notifications --- machines/warwick/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/warwick/configuration.nix b/machines/warwick/configuration.nix index 628df19..47241d7 100644 --- a/machines/warwick/configuration.nix +++ b/machines/warwick/configuration.nix @@ -39,10 +39,10 @@ in { }; networking.firewall.allowedTCPPorts = [gatusPort]; - systemd.services.gatus.serviceConfig.EnvironmentFile = config.sops.secrets."gatus/env".path; services.gatus = { enable = true; + environmentFile = config.sops.secrets."gatus/env".path; settings = { alerting = let @@ -68,6 +68,7 @@ in { ntfy = { url = "https://ntfy.kun.is"; token = "$NTFY_ACCESS_TOKEN"; + topic = "gatus"; inherit default-alert; }; };