From d2f576f8cf8223b927960c5feec56afd780c18ca Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 13 Aug 2023 15:25:10 +0200 Subject: [PATCH] sombrero: Sync `time-tracking` explicitly --- hosts/sombrero/configuration.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/hosts/sombrero/configuration.nix b/hosts/sombrero/configuration.nix index b5ed1a5..57d3b4d 100644 --- a/hosts/sombrero/configuration.nix +++ b/hosts/sombrero/configuration.nix @@ -177,9 +177,6 @@ }; folders = { - # incoming: - # 'time-tracking' from phone - "hosts" = { path = "/home/alex/backup/sync/hosts"; devices = [ "bennu" ]; @@ -235,6 +232,17 @@ }; }; + "time-tracking" = { + path = "/home/alex/backup/sync/time-tracking"; + devices = [ "phone" ]; + versioning = { + type = "staggered"; + params = { + maxAge = "2592000"; # 30 days + }; + }; + }; + "books" = { path = "/home/alex/backup/books"; devices = [ "bennu" ];