fwminex: merged backup dirs

This commit is contained in:
Motiejus Jakštys 2024-07-31 11:25:28 +03:00
parent cfa0d1bfb4
commit 6be2edaac1

View File

@ -105,23 +105,20 @@ in
enable = true; enable = true;
passwordPath = config.age.secrets.borgbackup-password.path; passwordPath = config.age.secrets.borgbackup-password.path;
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key"; sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
dirs = [ dirs =
# TODO: merge builtins.concatMap
{ (host: [
subvolume = "/home"; {
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2"; repo = "${host}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
paths = [ "motiejus/annex2" ]; subvolume = "/home";
backup_at = "*-*-* 02:30:01 UTC"; paths = [ "motiejus/annex2" ];
} backup_at = "*-*-* 02:30:01 UTC";
{ }
subvolume = "/home"; ])
repo = "borgstor@${ [
myData.hosts."vno3-rp3b.servers.jakst".jakstIP "zh2769@zh2769.rsync.net"
}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2"; "borgstor@${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}"
paths = [ "motiejus/annex2" ]; ];
backup_at = "*-*-* 02:30:01 UTC";
}
];
}; };
btrfssnapshot = { btrfssnapshot = {