stockholm/lass/2configs/green-host.nix

34 lines
701 B
Nix
Raw Normal View History

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 = [
"echelon"
2021-01-04 11:50:55 +00:00
"icarus"
"littleT"
"mors"
2021-01-04 11:50:55 +00:00
"shodan"
"skynet"
"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
}