about summary refs log tree commit diff
path: root/machines/profpatsch/legosi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/legosi.nix')
-rw-r--r--machines/profpatsch/legosi.nix24
1 files changed, 11 insertions, 13 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix
index 3866af73..4a55d63a 100644
--- a/machines/profpatsch/legosi.nix
+++ b/machines/profpatsch/legosi.nix
@@ -171,21 +171,19 @@ in {
     services.syncthing = {
       enable = true;
       openDefaultPorts = true;
-      declarative = {
-        devices = {
-          mushu = {
-            name = "mushu";
-            id = "B5H23ZS-NANQF55-2TW7V4F-22I7B34-7OIZ3ND-PHWL6JP-IIEVBBK-32RKWQR";
-          };
+      devices = {
+        mushu = {
+          name = "mushu";
+          id = "B5H23ZS-NANQF55-2TW7V4F-22I7B34-7OIZ3ND-PHWL6JP-IIEVBBK-32RKWQR";
         };
+      };
 
-        folders.mushu-data = {
-          id = "so6nv-oq5wu";
-          path = "/sync/mushu-data";
-          type = "receiveonly";
-          watch = false;
-          devices = [ "mushu" ];
-        };
+      folders.mushu-data = {
+        id = "so6nv-oq5wu";
+        path = "/sync/mushu-data";
+        type = "receiveonly";
+        watch = false;
+        devices = [ "mushu" ];
       };
     };