further shrink syncthing versioning

This commit is contained in:
Yan Lin 2026-01-30 11:57:44 +01:00
parent 29b549c503
commit 0fdf261e8e

View file

@ -8,18 +8,10 @@ let
allDevices = pcDevices ++ touchDevices; allDevices = pcDevices ++ touchDevices;
commonVersioning = { commonVersioning = {
type = "staggered";
params = {
maxAge = "2592000"; # 30 days
cleanInterval = "3600"; # 1 hour
};
};
liteVersioning = {
type = "staggered"; type = "staggered";
params = { params = {
maxAge = "604800"; # 7 days maxAge = "604800"; # 7 days
cleanInterval = "3600"; cleanInterval = "3600"; # 1 hour
}; };
}; };
@ -88,7 +80,6 @@ in
"Media" = { "Media" = {
path = "~/Media"; path = "~/Media";
devices = lib.filter (d: d != "iphone") allDevices; devices = lib.filter (d: d != "iphone") allDevices;
versioning = liteVersioning;
}; };
}) })
// (lib.optionalAttrs (lib.elem "Archive" cfg.enabledFolders) { // (lib.optionalAttrs (lib.elem "Archive" cfg.enabledFolders) {