diff --git a/modules/datasync.nix b/modules/datasync.nix index 14dad83..7b2d44d 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -6,62 +6,60 @@ openDefaultPorts = true; guiAddress = "0.0.0.0:8384"; dataDir = "/vault/syncthing"; - declarative = { - devices = { - panacea.id = - "UNZIABR-GEQ4AWT-XKFADLW-HW3SQ3Y-BEYZ56A-W530DLS-DXGQWKK-2QQ4RQ6"; - caravanserai.id = - "6KSGHNJ-NH4EZGP-X5HGV6B-OQ3ZFE6-WZQACOC-6WKPRGI-TTBRHJ5-U3R2AQ3"; + devices = { + panacea.id = + "NF4SYEJ-RSGPDEF-CDEYC3A-JWZMKNC-KG4FVQP-CZ5HRFY-XM22BZD-N7B6VAH"; + caravanserai.id = + "6KSGHNJ-NH4EZGP-X5HGV6B-OQ3ZFE6-WZQACOC-6WKPRGI-TTBRHJ5-U3R2AQ3"; + }; + folders = { + Documents = { + id = "wusdj-bfjkr"; + type = "receiveonly"; + path = "/vault/syncthing/Documents"; + devices = [ "panacea" "caravanserai" ]; }; - folders = { - Documents = { - id = "wusdj-bfjkr"; - type = "receiveonly"; - path = "/vault/syncthing/Documents"; - devices = [ "panacea" "caravanserai" ]; - }; - Notes = { - id = "kafhz-bfmzm"; - type = "receiveonly"; - path = "/vault/syncthing/Notes"; - devices = [ "panacea" "caravanserai" ]; - }; + Notes = { + id = "kafhz-bfmzm"; + type = "receiveonly"; + path = "/vault/syncthing/Notes"; + devices = [ "panacea" "caravanserai" ]; + }; - Music = { - id = "2aqt7-vpprc"; - type = "receiveonly"; - path = "/vault/syncthing/Music"; - devices = [ "panacea" "caravanserai" ]; - }; + Music = { + id = "2aqt7-vpprc"; + type = "receiveonly"; + path = "/vault/syncthing/Music"; + devices = [ "panacea" "caravanserai" ]; + }; - Photos = { - id = "mjibc-ustcg"; - type = "receiveonly"; - path = "/vault/syncthing/Photos"; - devices = [ "panacea" "caravanserai" ]; - }; + Photos = { + id = "mjibc-ustcg"; + type = "receiveonly"; + path = "/vault/syncthing/Photos"; + devices = [ "panacea" "caravanserai" ]; + }; - Projects = { - id = "cjhmu-avy9v"; - type = "receiveonly"; - path = "/vault/syncthing/Projects"; - devices = [ "panacea" ]; - }; + Projects = { + id = "cjhmu-avy9v"; + type = "receiveonly"; + path = "/vault/syncthing/Projects"; + devices = [ "panacea" ]; + }; - Phone = { - id = "m2007j20cg_288y-photos"; - type = "receiveonly"; - path = "/vault/syncthing/Photos/Phone"; - devices = [ "panacea" "caravanserai" ]; - }; + Phone = { + id = "m2007j20cg_288y-photos"; + type = "receiveonly"; + path = "/vault/syncthing/Photos/Phone"; + devices = [ "panacea" "caravanserai" ]; + }; - Files = { - id = "tsk52-u6rbk"; - type = "receiveonly"; - path = "/vault/syncthing/Files"; - devices = [ "panacea" "caravanserai" ]; - }; + Files = { + id = "tsk52-u6rbk"; + type = "receiveonly"; + path = "/vault/syncthing/Files"; + devices = [ "panacea" "caravanserai" ]; }; }; };