MyNixOS website logo
option

programs.rclone.remotes.<name>.secrets

Sensitive configuration values such as passwords, API keys, and tokens. These must be provided as file paths to the secrets, which will be read at activation time.

These values are expanded in a shell context within the rclone-config service (a systemd user service on Linux, a launchd agent on macOS), so you can use bash features like command substitution or variable expansion (e.g. "${XDG_RUNTIME_DIR}" on Linux, as used by agenix).

Declarations
Type
attribute set of string
Default
{ }
Example
{
  password = "/run/secrets/password";
  api_key = config.age.secrets.api-key.path;
}