{ config, lib, pkgs, user, ... }: let devices = [ "Ion" "Legion" "Northstar" "Ronin" "Vanguard" ]; in { imports = [ ../traefik/syncthing.nix ]; services.syncthing = { enable = true; systemService = true; overrideDevices = false; overrideFolders = true; openDefaultPorts = true; settings.folders = { "Documents" = { inherit devices; id = "gvggx-6telk"; path = "~/Documents"; ignorePerms = true; }; "Music" = { inherit devices; id = "munzw-vnxhl"; path = "~/Music"; ignorePerms = true; }; "Pictures" = { inherit devices; id = "ziuj8-rm6dn"; path = "~/Pictures"; ignorePerms = true; }; "Videos" = { inherit devices; id = "mbsop-qteua"; path = "~/Videos"; ignorePerms = true; }; }; }; }