further shrink syncthing versioning
This commit is contained in:
parent
29b549c503
commit
0fdf261e8e
1 changed files with 1 additions and 10 deletions
|
|
@ -8,18 +8,10 @@ let
|
|||
allDevices = pcDevices ++ touchDevices;
|
||||
|
||||
commonVersioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
maxAge = "2592000"; # 30 days
|
||||
cleanInterval = "3600"; # 1 hour
|
||||
};
|
||||
};
|
||||
|
||||
liteVersioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
maxAge = "604800"; # 7 days
|
||||
cleanInterval = "3600";
|
||||
cleanInterval = "3600"; # 1 hour
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -88,7 +80,6 @@ in
|
|||
"Media" = {
|
||||
path = "~/Media";
|
||||
devices = lib.filter (d: d != "iphone") allDevices;
|
||||
versioning = liteVersioning;
|
||||
};
|
||||
})
|
||||
// (lib.optionalAttrs (lib.elem "Archive" cfg.enabledFolders) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue