diff --git a/services/syncthing/default.nix b/services/syncthing/default.nix index b184a7a6..0d5de562 100644 --- a/services/syncthing/default.nix +++ b/services/syncthing/default.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, user, ... }: -let devices = [ "Ion" "Legion" "Northstar" "Ronin" "Vanguard" ]; -in { + +{ imports = [ ../traefik/syncthing.nix ]; services.syncthing = { enable = true; @@ -10,25 +10,21 @@ in { 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;