621 B
621 B
This service configures Syncthing to continuously synchronize a folder peer-to-peer across your machines.
Example configuration:
{
instances.syncthing = {
roles.peer.tags.all = { };
roles.peer.settings.folders = {
documents = {
path = "/home/youruser/syncthing/documents";
};
};
};
}
Notes:
- Each key under
foldersis a folder ID (an arbitrary identifier for Syncthing). - Prefer absolute paths (example shown).
~may work in some environments but can be ambiguous in service contexts.
Documentation
See the official Syncthing docs: https://docs.syncthing.net/