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

20 lines
470 B
Nix
Raw Normal View History

2023-07-18 16:30:04 +02:00
{
imports = [ ../../common/optional/syncthing.nix ];
2023-07-18 17:11:07 +02:00
services.syncthing.folders = {
"stellar-sanctum" = {
path = "/home/adrielus/Projects/stellar-sanctum/";
devices = [ "enceladus" "lapetus" ];
2023-07-18 16:30:04 +02:00
2023-07-18 17:11:07 +02:00
# TODO: remove this once I switch to zfs
versioning = {
type = "staggered";
params = {
cleanInterval = "3600"; # 1 hour in seconds
maxAge = "604800"; # 14 days in seconds.
2023-07-18 16:30:04 +02:00
};
};
};
};
}