@@ -105,13 +105,12 @@ in {
105105 description = ''
106106 Peers/devices which syncthing should communicate with.
107107 '';
108− example = [
109− {
110− name = "bigbox";
108+ example = {
109+ bigbox = {
111110 id = "7CFNTQM-IMTJBHJ-3UWRDIU-ZGQJFR6-VCXZ3NB-XUH3KZO-N52ITXR-LAIYUAU";
112111 addresses = [ "tcp://192.168.0.10:51820" ];
113− }
114− ];
112+ };
113+ };
115114 type = types.attrsOf (types.submodule ({ config, ... }: {
116115 options = {
117116
@@ -169,6 +168,12 @@ in {
169168 description = ''
170169 folders which should be shared by syncthing.
171170 '';
171+ example = {
172+ "/home/user/sync" = {
173+ id = "syncme";
174+ devices = [ "bigbox" ];
175+ };
176+ };
172177 type = types.attrsOf (types.submodule ({ config, ... }: {
173178 options = {
174179