1
Fork 0
satellite/hosts/nixos/tethys/services/syncthing.nix
2023-07-18 18:11:07 +03:00

20 lines
470 B
Nix

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