about summary refs log tree commit diff
path: root/modules/nixos/alertmanager.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-02-09 01:36:39 +0300
committerAzat Bahawi <azat@bahawi.net>2024-02-09 01:36:39 +0300
commita63bd773b9dfce7d71a5a87d167755a22ccf0c3c (patch)
tree0fe881090fdda186cb9349ac661a0d93d65ee4f2 /modules/nixos/alertmanager.nix
parent2024-02-01 (diff)
2024-02-09
Diffstat (limited to '')
-rw-r--r--modules/nixos/alertmanager.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nixos/alertmanager.nix b/modules/nixos/alertmanager.nix
index 9c8d60a..4d7f2ec 100644
--- a/modules/nixos/alertmanager.nix
+++ b/modules/nixos/alertmanager.nix
@@ -67,7 +67,7 @@ in {
               name = my.username;
               webhook_configs = [
                 {
-                  url = with config.pinpox.services.alertmanager-ntfy; "http://${httpAddress}:${httpPort}";
+                  url = with config.services.alertmanager-ntfy; "http://${httpAddress}:${httpPort}";
                 }
               ];
             }
@@ -76,7 +76,7 @@ in {
       };
     };
 
-    pinpox.services.alertmanager-ntfy = {
+    services.alertmanager-ntfy = {
       enable = true;
       httpAddress = "127.0.0.1";
       httpPort = toString (config.nixfiles.modules.ntfy.port + 1);

Consider giving Nix/NixOS a try! <3