about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/nas.nix1
-rw-r--r--hosts/common/server/grafana.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/hosts/common/nas.nix b/hosts/common/nas.nix
index 8ab11a8..255e95e 100644
--- a/hosts/common/nas.nix
+++ b/hosts/common/nas.nix
@@ -5,5 +5,6 @@
     ./server/default.nix
     ./server/samba.nix
     ./server/prometheus.nix
+    ./server/grafana.nix
   ];
 }
diff --git a/hosts/common/server/grafana.nix b/hosts/common/server/grafana.nix
new file mode 100644
index 0000000..b2d7841
--- /dev/null
+++ b/hosts/common/server/grafana.nix
@@ -0,0 +1,9 @@
+{ config, lib, pkgs, ... }:
+
+{
+  grafana = {
+    enable = true;
+    # Bind to all interfaces.
+    addr = "";
+  };
+}