From f6b485078a4de3335c88cf63ca02a54efcfbec9e Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 31 Aug 2024 12:14:19 +0200 Subject: [PATCH] backwards: Share `org` with `phone` via `syncthing` --- hosts/backwards/modules/syncthing/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/backwards/modules/syncthing/default.nix b/hosts/backwards/modules/syncthing/default.nix index cb72955..8e8a6d6 100644 --- a/hosts/backwards/modules/syncthing/default.nix +++ b/hosts/backwards/modules/syncthing/default.nix @@ -18,6 +18,17 @@ }; folders = { + org = { + path = "/home/alex/sync/org"; + devices = [ "phone" ]; + versioning = { + type = "staggered"; + params = { + maxage = "2592000"; # 30 days + }; + }; + }; + "phone-gps" = { path = "/home/alex/sync/phone-gps"; devices = [ "phone" ];