MyNixOS website logo
option

services.fluent-bit.configurationFile

Fluent Bit configuration. See https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/yaml for supported values.

configurationFile takes precedence over settings.

Note: Restricted evaluation blocks access to paths outside the Nix store. This means detecting content changes for mutable paths (i.e. not input or content-addressed) can't be done. As a result, nixos-rebuild won't reload/restart the systemd unit when mutable path contents change. systemctl restart fluent-bit.service must be used instead.

Declarations
Type
absolute path
Default
yamlFormat.generate "fluent-bit.yaml" cfg.settings
Example
"/etc/fluent-bit/fluent-bit.yaml"