MyNixOS website logo
option

services.syncthing.settings.folders

Folders which should be shared by Syncthing.

Note that you can still add folders manually, but those changes will be reverted on restart if overrideFolders is enabled.

Declarations
Type
attribute set of (JSON value)
Default
{ }
Example
{
  "/home/user/sync" = {
    id = "syncme";
    devices = [ "bigbox" ];
  };
}