summaryrefslogtreecommitdiffstats
path: root/lass/2configs/green-host.nix
blob: 355daba9ca806985cbc3ec3bb17d49a3ef14296c (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>
  ];
  krebs.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";
  };
}