From cfee124f99ba7ffc36cc291953ba1b483ba0aeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 25 Jan 2024 09:05:46 +0200 Subject: [PATCH] M-Active: versioning --- modules/services/syncthing/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/services/syncthing/default.nix b/modules/services/syncthing/default.nix index bf94f02..4585d5e 100644 --- a/modules/services/syncthing/default.nix +++ b/modules/services/syncthing/default.nix @@ -32,6 +32,13 @@ devices = ["mxp10" "fwminex" "vno1-oh2" "mtwork"]; id = "f6fma-unkxq"; label = "M-Active"; + versioning = { + type = "staggered"; + params = { + cleanInterval = "3600"; + maxAge = builtins.toString (3600 * 24 * 30); + }; + }; }; M-Documents = { devices = ["fwminex" "vno1-oh2"]; @@ -51,7 +58,7 @@ M-Camera = { devices = ["mxp10" "fwminex" "vno1-oh2" "mtwork"]; id = "pixel_xl_dtm3-photos"; - label = "M-Active"; + label = "M-Camera"; }; R-Documents = { devices = ["rzj-744P2PE" "vno1-oh2"];