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
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|