2024-03-04 11:33:59 +01:00
|
|
|
let commonVersioning = {
|
|
|
|
type = "staggered";
|
|
|
|
params = {
|
|
|
|
cleanInterval = "3600"; # 1 hour in seconds
|
|
|
|
maxAge = "604800"; # 14 days in seconds.
|
2023-11-04 18:58:09 +01:00
|
|
|
};
|
2024-03-04 11:33:59 +01:00
|
|
|
};
|
2023-11-04 18:58:09 +01:00
|
|
|
in
|
2023-07-18 16:30:04 +02:00
|
|
|
{
|
2023-12-10 23:48:46 +01:00
|
|
|
imports = [ ../../common/optional/services/syncthing.nix ];
|
2023-07-18 16:30:04 +02:00
|
|
|
|
2023-09-28 02:13:35 +02:00
|
|
|
services.syncthing.settings.folders = {
|
2023-07-18 17:11:07 +02:00
|
|
|
"stellar-sanctum" = {
|
2023-12-13 19:30:04 +01:00
|
|
|
path = "/home/adrielus/projects/stellar-sanctum/";
|
2023-07-18 17:11:07 +02:00
|
|
|
devices = [ "enceladus" "lapetus" ];
|
2023-11-04 18:58:09 +01:00
|
|
|
versioning = commonVersioning;
|
2023-07-18 16:30:04 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|