about summary refs log tree commit diff
path: root/nixos/tests/syncthing-init.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-05-22 16:56:23 +0200
committerDoron Behar <doron.behar@gmail.com>2023-06-29 17:56:30 +0300
commitc42a7b668c340fb32bc40cf8dfd0214f85dbb0d1 (patch)
treeea267801455c0006f24369b86767cc9b6f427ddd /nixos/tests/syncthing-init.nix
parent6b568ce356eed08441f3b6deebd6c9e1e2f60988 (diff)
Revert "Merge pull request #233377 from ncfavier/revert-226088"
This reverts commit 7b28ea6783baaeaebde2b58b13f141b4a6f8e050, reversing
changes made to 3009b12817c15e439609aaa794815de40a27564b.
Diffstat (limited to 'nixos/tests/syncthing-init.nix')
-rw-r--r--nixos/tests/syncthing-init.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index 5102c01278320..195c157ffb6e8 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -10,14 +10,14 @@ in {
   nodes.machine = {
     services.syncthing = {
       enable = true;
-      devices.${testName} = {
+      settings.devices.testDevice = {
         id = testId;
       };
-      folders.testFolder = {
+      settings.folders.testFolder = {
         path = "/tmp/test";
-        devices = [ testName ];
+        devices = [ "testDevice" ];
       };
-      extraOptions.gui.user = "guiUser";
+      settings.gui.user = "guiUser";
     };
   };