pinwheel/manatee: Share org via syncthing

This commit is contained in:
Alexander Heldt
2025-05-18 17:14:13 +02:00
parent ba6c13725a
commit 5f5df49717
3 changed files with 20 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
{
imports = [
../../config-manager/default.nix
../../shared-modules/syncthing.nix
./hardware-configuration.nix
./disk-config.nix
./modules

View File

@@ -30,9 +30,24 @@ in
insecureSkipHostcheck = false;
};
devices = { };
devices = {
pinwheel.id = config.lib.syncthing.pinwheel;
};
folders = { };
folders = {
org = {
path = "/mnt/sync/public/org";
devices = [
"pinwheel"
];
versioning = {
type = "staggered";
params = {
maxage = "2592000"; # 30 days
};
};
};
};
};
};

View File

@@ -16,6 +16,7 @@
devices = {
phone.id = config.lib.syncthing.phone;
backwards.id = config.lib.syncthing.backwards;
manatee.id = config.lib.syncthing.manatee;
};
folders = {
@@ -24,6 +25,7 @@
devices = [
"phone"
"backwards"
"manatee"
];
versioning = {
type = "staggered";