From 36744c4b60d8ed03b066b80a16f5aa2e836494b9 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 25 Mar 2025 20:29:18 +0100 Subject: [PATCH] backwards: Share `reading-material` with `phone` and `tablet` --- hosts/backwards/modules/syncthing/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/backwards/modules/syncthing/default.nix b/hosts/backwards/modules/syncthing/default.nix index 4f5c4f4..e48fedc 100644 --- a/hosts/backwards/modules/syncthing/default.nix +++ b/hosts/backwards/modules/syncthing/default.nix @@ -34,6 +34,7 @@ in devices = { phone.id = config.lib.syncthing.phone; pinwheel.id = config.lib.syncthing.pinwheel; + tablet.id = config.lib.syncthing.tablet; }; folders = { @@ -84,6 +85,20 @@ in }; }; + "reading-material" = { + path = "/home/alex/sync/reading-material"; + devices = [ + "phone" + "tablet" + ]; + versioning = { + type = "staggered"; + params = { + maxAge = "2592000"; # 30 days + }; + }; + }; + "phone-gps" = { path = "/home/alex/sync/phone-gps"; devices = [ "phone" ];