services.cloudflare-ddns.credentialsFile
NixOS option
Path to a file containing the Cloudflare API authentication token. The file content should be in the format CLOUDFLARE_API_TOKEN=YOUR_SECRET_TOKEN. The service user needs read access to this file. Ensure permissions are secure (e.g., 0400 or 0440) and ownership is appropriate Using CLOUDFLARE_API_TOKEN is preferred over the deprecated CF_API_TOKEN.
type: absolute pathExample
declared in: nixos/modules/services/networking/cloudflare-ddns.nixView source on NixOS/nixpkgs →"/run/secrets/cloudflare-ddns-token"