From f1b6bb9ae03f2d6077fe304631629956828dbcf9 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 25 Mar 2025 20:40:36 +0100 Subject: [PATCH] pinwheel/backwards: Share `reading-material` through `syncthing` --- hosts/backwards/modules/syncthing/default.nix | 1 + hosts/pinwheel/modules/syncthing/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/hosts/backwards/modules/syncthing/default.nix b/hosts/backwards/modules/syncthing/default.nix index e48fedc..54d2f90 100644 --- a/hosts/backwards/modules/syncthing/default.nix +++ b/hosts/backwards/modules/syncthing/default.nix @@ -90,6 +90,7 @@ in devices = [ "phone" "tablet" + "pinwheel" ]; versioning = { type = "staggered"; diff --git a/hosts/pinwheel/modules/syncthing/default.nix b/hosts/pinwheel/modules/syncthing/default.nix index cbfd1ed..e74f509 100644 --- a/hosts/pinwheel/modules/syncthing/default.nix +++ b/hosts/pinwheel/modules/syncthing/default.nix @@ -66,6 +66,17 @@ }; }; + "reading-material" = { + path = "/home/alex/sync/reading-material"; + devices = [ "backwards" ]; + versioning = { + type = "staggered"; + params = { + maxAge = "2592000"; # 30 days + }; + }; + }; + "phone-gps" = { path = "/home/alex/sync/phone-gps"; devices = [ "phone" ];