nixos-config/nixos/machines/chungus/rbackup.nix

36 lines
945 B
Nix
Raw Normal View History

{ 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;
2023-06-01 08:21:55 +02:00
src = "root@robi:/var/lib/taskserver/";
dst = "/srv/taskwarrior";
};
gitea = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/gitea/";
2023-06-01 08:21:55 +02:00
dst = "/srv/gitea";
};
bitwarden = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/bitwarden_rs/";
2023-06-01 08:21:55 +02:00
dst = "/srv/bitwarden_rs";
};
2023-05-03 16:09:27 +02:00
torrent = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/media/torrent/downloads/";
dst = "/robi/torrent";
2023-05-11 10:35:26 +02:00
startAt = "00/5:00"; # every 2 hours
};
};
}