mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 08:33:55 -05:00
syncthing: added versioning settings
This commit is contained in:
parent
f67277ba71
commit
d43b79e265
|
@ -45,11 +45,22 @@
|
||||||
id = "default";
|
id = "default";
|
||||||
path = "/home/${config.alyraffauf.services.syncthing.user}/sync";
|
path = "/home/${config.alyraffauf.services.syncthing.user}/sync";
|
||||||
devices = ["brawly" "fallarbor" "gsgmba" "iphone12" "lavaridge" "mauville" "petalburg" "rustboro" "mossdeep" "wattson" "winona"];
|
devices = ["brawly" "fallarbor" "gsgmba" "iphone12" "lavaridge" "mauville" "petalburg" "rustboro" "mossdeep" "wattson" "winona"];
|
||||||
|
versioning = {
|
||||||
|
type = "staggered";
|
||||||
|
params = {
|
||||||
|
cleanInterval = "3600";
|
||||||
|
maxAge = "365";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"camera" = {
|
"camera" = {
|
||||||
id = "fcsgh-dlxys";
|
id = "fcsgh-dlxys";
|
||||||
path = "/home/${config.alyraffauf.services.syncthing.user}/pics/camera";
|
path = "/home/${config.alyraffauf.services.syncthing.user}/pics/camera";
|
||||||
devices = ["brawly" "fallarbor" "lavaridge" "mauville" "petalburg" "rustboro" "wattson" "winona"];
|
devices = ["brawly" "fallarbor" "lavaridge" "mauville" "petalburg" "rustboro" "wattson" "winona"];
|
||||||
|
versioning = {
|
||||||
|
type = "trashcan";
|
||||||
|
params.cleanoutDays = "15";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
id = "6nzmu-z9der";
|
id = "6nzmu-z9der";
|
||||||
path = config.alyraffauf.services.syncthing.syncMusicPath;
|
path = config.alyraffauf.services.syncthing.syncMusicPath;
|
||||||
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wattson"];
|
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wattson"];
|
||||||
|
versioning = {
|
||||||
|
type = "trashcan";
|
||||||
|
params.cleanoutDays = "1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue