2023-05-02 21:02:16 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
sops.secrets.rsync_private_key = { };
|
|
|
|
|
2024-05-19 01:17:45 +02:00
|
|
|
# todo : replace all of them with syncoid
|
2023-05-02 21:02:16 +02:00
|
|
|
rbackup.plans = {
|
2024-04-12 23:09:40 +02:00
|
|
|
git = {
|
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
|
|
src = "root@orbi:/var/lib/forgejo/";
|
|
|
|
dst = "/mirror/git";
|
|
|
|
};
|
2023-05-02 21:02:16 +02:00
|
|
|
taskwarrior = {
|
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
2024-04-16 09:31:50 +02:00
|
|
|
src = "root@orbi:/var/lib/taskserver/";
|
2023-07-08 03:15:18 +02:00
|
|
|
dst = "/mirror/taskwarrior";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
2024-04-16 09:31:50 +02:00
|
|
|
vaultwarden = {
|
2023-05-02 21:02:16 +02:00
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
2024-04-16 08:36:02 +02:00
|
|
|
src = "root@orbi:/var/lib/bitwarden_rs/";
|
|
|
|
dst = "/mirror/vaultwarden";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
2024-04-07 10:19:27 +02:00
|
|
|
radarr = {
|
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
|
|
src = "root@orbi:/media/arr/radarr";
|
|
|
|
dst = "/media/arr/radarr";
|
|
|
|
delete = false;
|
|
|
|
};
|
|
|
|
sonarr = {
|
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
|
|
src = "root@orbi:/media/arr/sonarr";
|
|
|
|
dst = "/media/arr/sonarr";
|
|
|
|
delete = false;
|
|
|
|
};
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|