summary refs log tree commit diff
path: root/nixos/tests/syncthing-init.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/syncthing-init.nix')
-rw-r--r--nixos/tests/syncthing-init.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index f359f0af1c2..8b60ad7faf0 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -9,16 +9,14 @@ in {
   machine = {
     services.syncthing = {
       enable = true;
-      declarative = {
-        devices.testDevice = {
-          id = testId;
-        };
-        folders.testFolder = {
-          path = "/tmp/test";
-          devices = [ "testDevice" ];
-        };
-        extraOptions.gui.user = "guiUser";
+      devices.testDevice = {
+        id = testId;
       };
+      folders.testFolder = {
+        path = "/tmp/test";
+        devices = [ "testDevice" ];
+      };
+      extraOptions.gui.user = "guiUser";
     };
   };