summaryrefslogtreecommitdiffstats
path: root/lass/2configs/green-host.nix
blob: a5328943c4a96a938d8ebb4223fa04c8e506a986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ config, pkgs, ... }:
{
  imports = [
    <stockholm/lass/2configs/container-networking.nix>
    <stockholm/lass/2configs/syncthing.nix>
  ];
  lass.sync-containers.containers.green = {
    peers = [
      "icarus"
      "shodan"
      "skynet"
      "mors"
      "morpheus"
      "littleT"
      "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";
  };
}