nix-dotfiles/hosts/tsuki/services/grafana/influxdb.nix
h7x4 f2a89d7c82
grafana: split up configuration + postgres
- Move `services/grafana.nix` to `services/grafana/default.nix`
- Split up all data collectors into separate files under
  `services/grafana`
- Make grafana use postgres as its database
2022-11-26 17:16:04 +01:00

17 lines
375 B
Nix

{ config, secrets, ... }:
{
# services.influxdb = {
# enable = true;
# dataDir = "${config.machineVars.dataDrives.default}/var/influxdb";
# extraConfig = {
# udp = {
# enabled = true;
# bind-address = "0.0.0.0:8089";
# database = "proxmox";
# batch-size = 1000;
# batch-timeout = "1s";
# };
# };
# };
}