Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for services.syncthing.declarative.devices is incorrect #62074

Closed
danielfullmer opened this issue May 26, 2019 · 0 comments · Fixed by #62078
Closed

Example for services.syncthing.declarative.devices is incorrect #62074

danielfullmer opened this issue May 26, 2019 · 0 comments · Fixed by #62078

Comments

@danielfullmer
Copy link
Contributor

Issue description

The new option services.syncthing.declarative.devices has the example:

          example = [
            {
              name = "bigbox";
              id = "7CFNTQM-IMTJBHJ-3UWRDIU-ZGQJFR6-VCXZ3NB-XUH3KZO-N52ITXR-LAIYUAU";
              addresses = [ "tcp://192.168.0.10:51820" ];
            }
          ];

This is a list of attrsets, but this doesn't match the type, which is types.attrsOf (types.submodule ...

Also, it would be nice to have an example config for services.syncthing.declarative.folders as well.

Besides this, the new declarative configuration options for syncthing have been working well for me. Thanks for including them.

CC @Lassulus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant