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

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