summary refs log tree commit diff
path: root/mixins/syncthing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'mixins/syncthing.nix')
-rw-r--r--mixins/syncthing.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/mixins/syncthing.nix b/mixins/syncthing.nix
index 3e219ae..7faf5db 100644
--- a/mixins/syncthing.nix
+++ b/mixins/syncthing.nix
@@ -11,13 +11,15 @@
       configDir = "/home/tzlil/.config/syncthing";
       overrideDevices = true;
       overrideFolders = true;
-      devices = {
-        "phone" = {id = "UHWVTEZ-BERNFCH-3ZXQHNE-ZRBHLU6-MBAVEHB-TKLQJM7-ZGHLJ4R-6E4SAA7";};
-      };
-      folders = {
-        "passwords" = {
-          path = "/home/tzlil/sync/passwords";
-          devices = ["phone"];
+      settings = {
+        devices = {
+          "phone" = {id = "UHWVTEZ-BERNFCH-3ZXQHNE-ZRBHLU6-MBAVEHB-TKLQJM7-ZGHLJ4R-6E4SAA7";};
+        };
+        folders = {
+          "passwords" = {
+            path = "/home/tzlil/sync/passwords";
+            devices = ["phone"];
+          };
         };
       };
     };