about summary refs log tree commit diff
path: root/modules/grafana.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-02 14:30:08 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-02 14:30:08 +0300
commit3c61dc9cc35ed201877d81b1b7ad848f1ac9855e (patch)
treecd9c766d3046cbaddfdd48ef34d6229e37d36591 /modules/grafana.nix
parent2024-05-02 (diff)
2024-05-02
Diffstat (limited to '')
-rw-r--r--modules/grafana.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/grafana.nix b/modules/grafana.nix
index 233c9e5..b57577d 100644
--- a/modules/grafana.nix
+++ b/modules/grafana.nix
@@ -3,6 +3,7 @@
   inputs,
   lib,
   libNginx,
+  this,
   ...
 }:
 with lib;
@@ -121,5 +122,7 @@ in
           ];
         };
       };
+
+      topology.nodes.${this.hostname}.services.grafana.info = mkForce cfg.domain;
     };
 }

Consider giving Nix/NixOS a try! <3