l green-host: use sync-containers3

This commit is contained in:
lassulus 2022-11-22 10:13:13 +01:00
parent 8f4dd6fb59
commit 6858631284

View File

@ -2,32 +2,9 @@
{
imports = [
<stockholm/lass/2configs/container-networking.nix>
<stockholm/lass/2configs/syncthing.nix>
];
krebs.sync-containers.containers.green = {
peers = [
"echelon"
"icarus"
"littleT"
"mors"
"shodan"
"skynet"
"styx"
];
hostIp = "10.233.2.15";
localIp = "10.233.2.16";
format = "ecryptfs";
};
services.borgbackup.jobs.sync-green = {
encryption.mode = "none";
paths = "/var/lib/sync-containers/green/ecryptfs";
repo = "/var/lib/sync-containers/green/backup";
compression = "auto,lzma";
startAt = "daily";
prune.keep = {
daily = 7;
weekly = 4;
};
lass.sync-containers3.containers.green = {
sshKey = "${toString <secrets>}/green.sync.key";
};
}