From f65f6800422a40192cb51688ffc5a37da4dfeff4 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 31 Aug 2024 12:35:21 +0200 Subject: [PATCH] backwards/pinwheel: Share `personal` via `syncthing` --- hosts/backwards/modules/syncthing/default.nix | 11 +++++++++++ hosts/pinwheel/modules/syncthing/default.nix | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/backwards/modules/syncthing/default.nix b/hosts/backwards/modules/syncthing/default.nix index 8b60533..b424fe2 100644 --- a/hosts/backwards/modules/syncthing/default.nix +++ b/hosts/backwards/modules/syncthing/default.nix @@ -32,6 +32,17 @@ }; }; + personal = { + path = "/home/alex/sync/personal"; + devices = [ "pinwheel" ]; + versioning = { + type = "staggered"; + params = { + maxAge = "2592000"; # 30 days + }; + }; + }; + "phone-gps" = { path = "/home/alex/sync/phone-gps"; devices = [ "phone" ]; diff --git a/hosts/pinwheel/modules/syncthing/default.nix b/hosts/pinwheel/modules/syncthing/default.nix index 8f9b0dd..7063326 100644 --- a/hosts/pinwheel/modules/syncthing/default.nix +++ b/hosts/pinwheel/modules/syncthing/default.nix @@ -33,7 +33,7 @@ personal = { path = "/home/alex/sync/personal"; - devices = [ "sombrero" ]; + devices = [ "sombrero" "backwards" ]; versioning = { type = "staggered"; params = {