Hi Sergey, Have you setup syncthing using the config.services.syncthing.enable = true in /etc/nixos/configuration.nix ? The service is creating /var/lib/syncthing by default. This is a better place to put the files, home folders should be private. Cheers, z
On Mon, 21 Sep 2015 at 12:19 Sergey Mironov <grr...@gmail.com> wrote: > Hi, List! I have two questions regarding Syncthing synchronization > service. They may be not strongly related to Nix but I'd like to ask > here before going to the upstream's forum. > > 1) I've upgraded NixOS installations on both desktop and server > workstations recently. After the upgrade I noticed that syncthing IDs > were changed, so I had to re-setup the connection using Web-GUI. Is it > possible to preserve the IDs ? Or should we think about making this > type of configuration static by providing NixOS wrappers for > 'device'/'folders' options? (I am not sure if it is possible or not) > > 2) I keep my synced data in the /home/syncthing folder and I want it > to be of 'syncthing:users' user/group with 770 permissions. Older > NixOS setup seems to handle it well, but the new one seems to reset > the permissions to 'syncthing:root' 700 every hour. Could it be a > systemd new behavior or it's the syncthing who does this? > > Regards, > Sergey > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev