summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-30 18:25:45 +0300
committertzlil <tzlils@protonmail.com>2023-07-30 18:25:45 +0300
commit6f4af85daec2e1db5be2668d15b5f851b436a35b (patch)
tree9082bc2971d50d60f7debbb44dbf6b23bb753c52 /mixins
parentf72f22b250ecf22657ffc9e6082086377031ea8a (diff)
uhhhh
Diffstat (limited to 'mixins')
-rw-r--r--mixins/syncthing.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/mixins/syncthing.nix b/mixins/syncthing.nix
index 18b8f78..8928969 100644
--- a/mixins/syncthing.nix
+++ b/mixins/syncthing.nix
@@ -5,22 +5,22 @@
 }: {
   config = {
     services.syncthing = {
-      enable = false;
+      enable = true;
       user = "tzlil";
       dataDir = "/home/tzlil/sync";
       configDir = "/home/tzlil/.config/syncthing";
       overrideDevices = true;
       overrideFolders = true;
-      #settings = {
-      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"];
+          };
         };
-        #};
       };
     };