mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 15:51:54 -05:00
syncthing: added versioning settings
This commit is contained in:
parent
f67277ba71
commit
d43b79e265
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue