2021-01-04 11:50:55 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<stockholm/lass/2configs/container-networking.nix>
|
|
|
|
<stockholm/lass/2configs/syncthing.nix>
|
|
|
|
];
|
2021-01-24 09:41:47 +00:00
|
|
|
krebs.sync-containers.containers.green = {
|
2021-01-04 11:50:55 +00:00
|
|
|
peers = [
|
2021-10-24 10:33:33 +00:00
|
|
|
"echelon"
|
2021-01-04 11:50:55 +00:00
|
|
|
"icarus"
|
2021-10-24 10:33:33 +00:00
|
|
|
"littleT"
|
|
|
|
"mors"
|
2021-01-04 11:50:55 +00:00
|
|
|
"shodan"
|
|
|
|
"skynet"
|
2021-01-23 20:24:51 +00:00
|
|
|
"styx"
|
2021-01-04 11:50:55 +00:00
|
|
|
];
|
|
|
|
hostIp = "10.233.2.15";
|
|
|
|
localIp = "10.233.2.16";
|
|
|
|
format = "ecryptfs";
|
|
|
|
};
|
2021-01-23 20:25:12 +00:00
|
|
|
|
|
|
|
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";
|
2021-10-24 10:33:48 +00:00
|
|
|
prune.keep = {
|
|
|
|
daily = 7;
|
|
|
|
weekly = 4;
|
|
|
|
};
|
2021-01-23 20:25:12 +00:00
|
|
|
};
|
2021-01-04 11:50:55 +00:00
|
|
|
}
|