diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-28 19:17:48 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-28 19:17:48 -0800 |
commit | 20b9993c8cae0e34f5e54222fd831f1d1c4f24ab (patch) | |
tree | d52accbc43aa8e4410077ff5973e91a04f7ce182 /hosts | |
parent | prometheus: initial configuration for the server (diff) | |
download | world-20b9993c8cae0e34f5e54222fd831f1d1c4f24ab.tar.gz |
grafana: initial configuration
Diffstat (limited to '')
-rw-r--r-- | hosts/common/nas.nix | 1 | ||||
-rw-r--r-- | hosts/common/server/grafana.nix | 9 |
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 = ""; + }; +} |