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.

Note: If using secret management solutions like agenix or sops-nix with home-manager, you need to ensure their services are activated before switching to this home-manager generation. Consider setting systemd.user.startServices to "sd-switch" for automatic service startup.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  password = "/run/secrets/password";
  api_key = config.age.secrets.api-key.path;
}
Sign in to create a configuration using this setting.