summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorXyz00777 <52142054+Xyz00777@users.noreply.github.com>2023-04-14 00:20:18 +0200
committerlassulus <git@lassul.us>2023-05-15 14:38:56 +0200
commit32866f8d58979e8dbdf92bfaa72d2883eee861f7 (patch)
tree0200aa651aa1de3f5819426b8b8cc1206bf5413e /nixos/tests
parent6c4023fb1ad258c53c2b82a068aa4197542cd0c4 (diff)
nixos/syncthing: use rfc42 style settings
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/syncthing-init.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index fcd90739e6a55..435813e58066f 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -9,14 +9,16 @@ in {
   nodes.machine = {
     services.syncthing = {
       enable = true;
-      devices.testDevice = {
-        id = testId;
+      settings = {
+        devices.testDevice = {
+          id = testId;
+        };
+        folders.testFolder = {
+          path = "/tmp/test";
+          devices = [ "testDevice" ];
+        };
+        gui.user = "guiUser";
       };
-      folders.testFolder = {
-        path = "/tmp/test";
-        devices = [ "testDevice" ];
-      };
-      extraOptions.gui.user = "guiUser";
     };
   };