From 70cc41ff66dd7ca6e9ea63dc750b8b4eb30cd2e7 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 19 Aug 2023 11:18:17 +0200 Subject: [PATCH] `pinwheel` + `sombrero`: Sync `books` --- hosts/pinwheel/modules/syncthing/default.nix | 11 +++++++++++ hosts/sombrero/configuration.nix | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/syncthing/default.nix b/hosts/pinwheel/modules/syncthing/default.nix index 6b1a929..3100bca 100644 --- a/hosts/pinwheel/modules/syncthing/default.nix +++ b/hosts/pinwheel/modules/syncthing/default.nix @@ -52,6 +52,17 @@ }; }; + books = { + path = "/home/alex/sync/books"; + devices = [ "sombrero" ]; + versioning = { + type = "staggered"; + params = { + maxAge = "2592000"; # 30 days + }; + }; + }; + "phone-gps" = { path = "/home/alex/sync/phone-gps"; devices = [ "phone" ]; diff --git a/hosts/sombrero/configuration.nix b/hosts/sombrero/configuration.nix index cf6a141..dd38d91 100644 --- a/hosts/sombrero/configuration.nix +++ b/hosts/sombrero/configuration.nix @@ -242,7 +242,7 @@ "books" = { path = "/home/alex/backup/books"; - devices = [ "bennu" ]; + devices = [ "bennu" "pinwheel" ]; versioning = { type = "staggered"; params = {