1
Fork 0
satellite/hosts/nixos/tethys/services/syncthing.nix

20 lines
448 B
Nix
Raw Normal View History

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
};
};
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
services.syncthing.settings.folders = {
2023-07-18 17:11:07 +02:00
"stellar-sanctum" = {
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
};
};
}