From 20b9993c8cae0e34f5e54222fd831f1d1c4f24ab Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 28 Feb 2022 19:17:48 -0800 Subject: grafana: initial configuration --- hosts/common/nas.nix | 1 + hosts/common/server/grafana.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 hosts/common/server/grafana.nix 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 = ""; + }; +} -- cgit 1.4.1