diff --git a/hosts/manatee/modules/syncthing/default.nix b/hosts/manatee/modules/syncthing/default.nix index b4b4c74..3397a96 100644 --- a/hosts/manatee/modules/syncthing/default.nix +++ b/hosts/manatee/modules/syncthing/default.nix @@ -39,6 +39,7 @@ in }; devices = { + phone.id = config.lib.syncthing.phone; pinwheel.id = config.lib.syncthing.pinwheel; }; @@ -46,6 +47,7 @@ in org = { path = "/mnt/sync/public/org"; devices = [ + "phone" "pinwheel" ]; versioning = { @@ -55,6 +57,39 @@ in }; }; }; + + personal = { + path = "/mnt/sync/public/personal"; + devices = [ "pinwheel" ]; + versioning = { + type = "staggered"; + params = { + maxage = "2592000"; # 30 days + }; + }; + }; + + work = { + path = "/mnt/sync/public/work"; + devices = [ "pinwheel" ]; + versioning = { + type = "staggered"; + params = { + maxage = "2592000"; # 30 days + }; + }; + }; + + "phone-gps" = { + path = "/mnt/sync/public/phone-gps"; + devices = [ "phone" ]; + versioning = { + type = "staggered"; + params = { + maxage = "2592000"; # 30 days + }; + }; + }; }; }; };