dotfiles/modules/nixos/services/netdata.nix

20 lines
433 B
Nix
Raw 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.
2023-02-21 01:45:56 +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)
config = { web.mode = "none"; };
};
};
}