diff --git a/services/syncthing/default.nix b/services/syncthing/default.nix index b19e3f54..9d5afbb7 100644 --- a/services/syncthing/default.nix +++ b/services/syncthing/default.nix @@ -1,5 +1,7 @@ { lib, user, group, ... }: -let devices = [ "Ion" "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ]; +let + devices = [ "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ]; + devicesWithPhone = devices ++ [ "Ion" ]; in { services.syncthing = { inherit user group; @@ -42,10 +44,10 @@ in { ignorePerms = true; }; "Documents" = { - inherit devices; id = "qc6qa-bipsd"; path = lib.mkDefault "~/Documents/Sync"; ignorePerms = true; + devices = devicesWithPhone; }; "Exports" = { inherit devices; @@ -54,22 +56,22 @@ in { ignorePerms = true; }; "Notes" = { - inherit devices; id = "4ggjz-5dyop"; path = lib.mkDefault "~/Notes"; ignorePerms = true; + devices = devicesWithPhone; }; "Pictures" = { - inherit devices; id = "ziuj8-rm6dn"; path = lib.mkDefault "~/Pictures"; ignorePerms = true; + devices = devicesWithPhone; }; "Zotero" = { - inherit devices; id = "huyvn-liwc9"; path = lib.mkDefault "~/Documents/Zotero"; ignorePerms = true; + devices = devicesWithPhone; }; }; };