diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-02-09 01:36:39 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-02-09 01:36:39 +0300 |
commit | a63bd773b9dfce7d71a5a87d167755a22ccf0c3c (patch) | |
tree | 0fe881090fdda186cb9349ac661a0d93d65ee4f2 /modules/nixos/alertmanager.nix | |
parent | 2024-02-01 (diff) |
2024-02-09
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/alertmanager.nix | 4 |
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); |