39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ config, ... }:
|
|
{
|
|
sops.secrets.rsync_private_key = { };
|
|
|
|
rbackup.plans = {
|
|
nextcloud = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/var/lib/nextcloud/";
|
|
dst = "/nextcloud";
|
|
};
|
|
taskwarrior = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/var/lib/taskwarrior/";
|
|
dst = "/services/taskwarrior";
|
|
};
|
|
gitea = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/var/lib/gitea/";
|
|
dst = "/services/gitea";
|
|
};
|
|
bitwarden = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/var/lib/bitwarden_rs/";
|
|
dst = "/services/bitwarden_rs";
|
|
};
|
|
media = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/media/syncthing/media/";
|
|
dst = "/robi/media";
|
|
};
|
|
torrent = {
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
src = "root@robi:/media/torrent/downloads/";
|
|
dst = "/robi/torrent";
|
|
};
|
|
};
|
|
|
|
|
|
}
|