2023-07-18 16:30:04 +02:00
|
|
|
{
|
|
|
|
imports = [ ../../common/optional/syncthing.nix ];
|
|
|
|
|
2023-07-18 17:11:07 +02:00
|
|
|
services.syncthing.folders = {
|
2023-07-22 17:22:54 +02:00
|
|
|
"mythical-vault" = {
|
|
|
|
path = "/home/adrielus/.password-store";
|
|
|
|
devices = [ "enceladus" "lapetus" ];
|
|
|
|
};
|
2023-07-18 17:11:07 +02:00
|
|
|
"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
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|