about summary refs log tree commit diff
path: root/modules/nixos/monitoring
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-29 01:26:26 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-29 01:26:26 +0300
commit3c5d840e8d92aee25aa411fc2ab7f8881cfdfede (patch)
tree125bfef8f70b1e4c13cbcf975de3a942914f5d9b /modules/nixos/monitoring
parent2023-11-28 (diff)
2023-11-29
Diffstat (limited to '')
-rw-r--r--modules/nixos/monitoring/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/nixos/monitoring/default.nix b/modules/nixos/monitoring/default.nix
index a9b098b..cc06fbb 100644
--- a/modules/nixos/monitoring/default.nix
+++ b/modules/nixos/monitoring/default.nix
@@ -115,7 +115,11 @@ in {
         };
       };
 
-      loki.configuration.ruler.alertmanager_url = "https://${config.nixfiles.modules.alertmanager.domain}";
+      loki.configuration.ruler = {
+        external_url = "https://${config.nixfiles.modules.grafana.domain}";
+        alertmanager_url = "https://${config.nixfiles.modules.alertmanager.domain}";
+        enable_alertmanager_v2 = true;
+      };
 
       prometheus = {
         scrapeConfigs = with my.configurations;

Consider giving Nix/NixOS a try! <3