backwards: Share reading-material with phone and tablet

This commit is contained in:
Alexander Heldt
2025-03-25 20:29:18 +01:00
parent 08d05ccae3
commit 36744c4b60

View File

@@ -34,6 +34,7 @@ in
devices = { devices = {
phone.id = config.lib.syncthing.phone; phone.id = config.lib.syncthing.phone;
pinwheel.id = config.lib.syncthing.pinwheel; pinwheel.id = config.lib.syncthing.pinwheel;
tablet.id = config.lib.syncthing.tablet;
}; };
folders = { folders = {
@@ -84,6 +85,20 @@ in
}; };
}; };
"reading-material" = {
path = "/home/alex/sync/reading-material";
devices = [
"phone"
"tablet"
];
versioning = {
type = "staggered";
params = {
maxAge = "2592000"; # 30 days
};
};
};
"phone-gps" = { "phone-gps" = {
path = "/home/alex/sync/phone-gps"; path = "/home/alex/sync/phone-gps";
devices = [ "phone" ]; devices = [ "phone" ];