Syncthing: Difference between revisions
Turns out the Syncthing paths that are required are actually strings not paths. |
m →Declarative configuration: Adding documentation that helped me a lot with setting up Syncthing. |
||
| Line 20: | Line 20: | ||
== Declarative configuration == | == Declarative configuration == | ||
Note: using a declarative configuration will overwrite files in <code>configDir</code>. | Note: using a declarative configuration will overwrite files in <code>configDir</code>. | ||
Note: every available option can be sourced from here https://mynixos.com/nixpkgs/options/services.syncthing | |||
You can declaratively set your Syncthing folders by using the <code>services.syncthing.devices</code> and <code>services.syncthing.folders</code> options: | You can declaratively set your Syncthing folders by using the <code>services.syncthing.devices</code> and <code>services.syncthing.folders</code> options: | ||