From 9b884ed48306b2f881521e61e5bfea26c545d168 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 23 Jan 2021 21:24:51 +0100 Subject: l green-host: share with morpheus & styx --- lass/2configs/green-host.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lass/2configs/green-host.nix') diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index 1f17c78c8..5f44f5065 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -10,7 +10,9 @@ "shodan" "skynet" "mors" + "morpheus" "littleT" + "styx" ]; hostIp = "10.233.2.15"; localIp = "10.233.2.16"; -- cgit v1.2.3 From fc01155ea520bf3f6ceaafef3a32393331a9319a Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 23 Jan 2021 21:25:12 +0100 Subject: l green-host: backup with borg --- lass/2configs/green-host.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lass/2configs/green-host.nix') diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index 5f44f5065..a5328943c 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -18,4 +18,12 @@ 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"; + }; } -- cgit v1.2.3 From ea0b43654e20ee3cbe85c154a35d5363baaaca97 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 24 Jan 2021 10:41:47 +0100 Subject: sync-containers: lass -> krebs --- lass/2configs/green-host.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/2configs/green-host.nix') diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index a5328943c..355daba9c 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -4,7 +4,7 @@ ]; - lass.sync-containers.containers.green = { + krebs.sync-containers.containers.green = { peers = [ "icarus" "shodan" -- cgit v1.2.3