services.netdata.configDir
NixOS option
Complete netdata config directory except netdata.conf. The default configuration is merged with changes defined in this option. Each top-level attribute denotes a path in the configuration directory as in environment.etc. Its value is the absolute path and must be readable by netdata. Cannot be combined with configText.
type: attribute set of absolute pathDefault
{ }Example
declared in: nixos/modules/services/monitoring/netdata.nixView source on NixOS/nixpkgs →"health_alarm_notify.conf" = pkgs.writeText "health_alarm_notify.conf" '' sendmail="/path/to/sendmail" ''; "health.d" = "/run/secrets/netdata/health.d";