2023-11-04 18:58:09 +01:00
|
|
|
let
|
|
|
|
# TODO: remove this once I switch to zfs
|
|
|
|
commonVersioning = {
|
|
|
|
type = "staggered";
|
|
|
|
params = {
|
|
|
|
cleanInterval = "3600"; # 1 hour in seconds
|
|
|
|
maxAge = "604800"; # 14 days in seconds.
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
2023-07-18 16:30:04 +02:00
|
|
|
{
|
|
|
|
imports = [ ../../common/optional/syncthing.nix ];
|
|
|
|
|
2023-09-28 02:13:35 +02:00
|
|
|
services.syncthing.settings.folders = {
|
2023-07-22 17:22:54 +02:00
|
|
|
"mythical-vault" = {
|
|
|
|
path = "/home/adrielus/.password-store";
|
|
|
|
devices = [ "enceladus" "lapetus" ];
|
2023-11-04 18:58:09 +01:00
|
|
|
versioning = commonVersioning;
|
2023-07-22 17:22:54 +02:00
|
|
|
};
|
2023-07-18 17:11:07 +02:00
|
|
|
"stellar-sanctum" = {
|
|
|
|
path = "/home/adrielus/Projects/stellar-sanctum/";
|
|
|
|
devices = [ "enceladus" "lapetus" ];
|
2023-11-04 18:58:09 +01:00
|
|
|
versioning = commonVersioning;
|
2023-07-18 16:30:04 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|