MyNixOS website logo

An attribute set of remote configurations. Each remote consists of regular configuration options and optional secrets.

See https://rclone.org/docs/ for more information on configuring specific remotes.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  b2 = {
    config = {
      type = "b2";
      hard_delete = true;
    };
    secrets = {
      # using sops
      account = config.sops.secrets.b2-acc-id.path;
      # using agenix
      key = config.age.secrets.b2-key.path;
    };
  };

  server.config = {
    type = "sftp";
    host = "server";
    user = "backup";
    key_file = "${home.homeDirectory}/.ssh/id_ed25519";
  };
}