Syncthing

From NixOS Wiki
Revision as of 07:07, 6 May 2020 by imported>LuisChDev (Created page with "Available as a standalone package: <nowiki>nix-env -iA nixos.syncthing</nowiki> It can also be enabled as a service. You'll typically want to set the user and the config di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available as a standalone package:

nix-env -iA nixos.syncthing

It can also be enabled as a service. You'll typically want to set the user and the config dir, as with the default values ("syncthing" for the user, "/var/lib/syncthing" for the dir) you won't be able to access the files:

services = {
    syncthing = {
        enable = true;
        user = "myusername";
        dataDir = "/home/myusername/Downloads";
        configDir = "/home/myusername/Downloads/.config/syncthing";
    }
}