dotfiles/modules/nixos/services/netdata.nix

21 lines
445 B
Nix
Raw Permalink Normal View History

2024-01-10 04:11:11 +00:00
# Netdata is an out-of-the-box monitoring tool that exposes many different
# metrics. Not currently in use, in favor of VictoriaMetrics and Grafana.
2024-04-20 13:42:06 +00:00
{ config, lib, ... }:
{
2022-12-21 21:18:03 +00:00
options.netdata.enable = lib.mkEnableOption "Netdata metrics.";
config = lib.mkIf config.netdata.enable {
services.netdata = {
enable = true;
# Disable local dashboard (unsecured)
2024-04-20 13:42:06 +00:00
config = {
web.mode = "none";
};
};
};
}