about summary refs log tree commit diff
path: root/modules/nixos/alertmanager.nix
diff options
context:
space:
mode:
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