diff --git a/services/monitoring/grafana.mod.nix b/services/monitoring/grafana.mod.nix new file mode 100644 index 0000000..ba7c273 --- /dev/null +++ b/services/monitoring/grafana.mod.nix @@ -0,0 +1,32 @@ +{ + glucose.modules = [ + {( + services.grafana = { + enable = true; + dataDir = "/var/services/grafana"; + # declarativePlugins = null; + + settings = { + # analytics = {}; + # database = {}; + # paths = {}; + # security = {}; + server = { + root_url = "https://grf.collective-conciousness.monster"; + enable_gzip = true; + http_addr = "127.0.0.1"; + http_port = 6700; + }; + # smtp = {}; + # users = {}; + }; + + /*provision = { + alerting = {}; + dashboards = {}; + datasources = {}; + };*/ + }; + )} + ]; +} \ No newline at end of file diff --git a/services/monitoring/prometheus.mod.nix b/services/monitoring/prometheus.mod.nix new file mode 100644 index 0000000..e69de29