summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-05-22 10:28:27 +0200
committerNaïm Favier <n@monade.li>2023-05-22 10:29:52 +0200
commitd5e090d2d82ccd3b32df4a856284d9ac355dd72c (patch)
tree7e0d624067d1934f26a9f9c812c7ac42d4dc840b /nixos/tests
parent9c6ea01e02a3c2d40368d58313f8cd73241bf4f5 (diff)
Revert "nixos/syncthing: use rfc42 style settings"
This reverts commit 32866f8d58979e8dbdf92bfaa72d2883eee861f7.
This reverts commit 40a2df0fb0e2c194ded70b7d95a064b1bbf676e7.
This reverts commit 4762932601160798aaf20c39ecfc2c202aa6a9e7.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/syncthing-init.nix21
1 files changed, 7 insertions, 14 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index b26c6103fd41d..fcd90739e6a55 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -9,21 +9,14 @@ in {
   nodes.machine = {
     services.syncthing = {
       enable = true;
-      settings = {
-        options.crashReportingEnabled = false;
-        devices.testDevice = {
-          id = testId;
-        };
-        folders.testFolder = {
-          path = "/tmp/test";
-          devices = [ "testDevice" ];
-          versioning = {
-            type = "simple";
-            params.keep = "10";
-          };
-        };
-        gui.user = "guiUser";
+      devices.testDevice = {
+        id = testId;
       };
+      folders.testFolder = {
+        path = "/tmp/test";
+        devices = [ "testDevice" ];
+      };
+      extraOptions.gui.user = "guiUser";
     };
   };