syncthing: added versioning settings

This commit is contained in:
Aly Raffauf 2024-05-03 21:19:45 -04:00
parent f67277ba71
commit d43b79e265
2 changed files with 15 additions and 0 deletions

View file

@ -45,11 +45,22 @@
id = "default";
path = "/home/${config.alyraffauf.services.syncthing.user}/sync";
devices = ["brawly" "fallarbor" "gsgmba" "iphone12" "lavaridge" "mauville" "petalburg" "rustboro" "mossdeep" "wattson" "winona"];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "365";
};
};
};
"camera" = {
id = "fcsgh-dlxys";
path = "/home/${config.alyraffauf.services.syncthing.user}/pics/camera";
devices = ["brawly" "fallarbor" "lavaridge" "mauville" "petalburg" "rustboro" "wattson" "winona"];
versioning = {
type = "trashcan";
params.cleanoutDays = "15";
};
};
};
};

View file

@ -25,6 +25,10 @@
id = "6nzmu-z9der";
path = config.alyraffauf.services.syncthing.syncMusicPath;
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wattson"];
versioning = {
type = "trashcan";
params.cleanoutDays = "1";
};
};
};
};