services.cloudflare-ddns.credentialsFile
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 path- Example
"/run/secrets/cloudflare-ddns-token"- Declared
- <nixpkgs/nixos/modules/services/networking/cloudflare-ddns.nix>