backwards: Share phone-gps with phone in syncthing

This commit is contained in:
Alexander Heldt
2024-08-31 11:58:58 +02:00
parent eb3b497e02
commit d331614d31
2 changed files with 20 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
imports =
[
../../config-manager/default.nix
../../shared-modules/syncthing.nix
./hardware-configuration.nix
./modules
];

View File

@@ -11,6 +11,25 @@
group = "users";
dataDir = "/home/alex/sync";
settings = {
devices = {
phone.id = config.lib.syncthing.phone;
};
folders = {
"phone-gps" = {
path = "/home/alex/sync/phone-gps";
devices = [ "phone" ];
versioning = {
type = "staggered";
params = {
maxage = "2592000"; # 30 days
};
};
};
};
};
};
age = {