l green-host: use sync-containers3
This commit is contained in:
parent
8f4dd6fb59
commit
6858631284
|
@ -2,32 +2,9 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<stockholm/lass/2configs/container-networking.nix>
|
<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 = {
|
lass.sync-containers3.containers.green = {
|
||||||
encryption.mode = "none";
|
sshKey = "${toString <secrets>}/green.sync.key";
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user