about summary refs log tree commit diff
path: root/modules/nixos/alertmanager.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-05 18:10:26 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-05 18:10:26 +0300
commit647ea0667423ced895e4bcdd73a9401b1fe3ee69 (patch)
tree700db0911e1e2193bf07e8e756910378b4f8d4eb /modules/nixos/alertmanager.nix
parent2023-11-04 (diff)
2023-11-05
Diffstat (limited to '')
-rw-r--r--modules/nixos/alertmanager.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/nixos/alertmanager.nix b/modules/nixos/alertmanager.nix
index 8f5b34b..c8f0bf2 100644
--- a/modules/nixos/alertmanager.nix
+++ b/modules/nixos/alertmanager.nix
@@ -45,7 +45,10 @@ in {
         listenAddress = "127.0.0.1";
         inherit (cfg) port;
 
-        extraFlags = ["--web.external-url=https://${cfg.domain}"];
+        extraFlags = [
+          "--cluster.listen-address=\"\""
+          "--web.external-url=https://${cfg.domain}"
+        ];
 
         configuration = {
           global = {

Consider giving Nix/NixOS a try! <3