about summary refs log tree commit diff
path: root/nixos/tests/searx.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-01-12 22:53:25 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2021-01-14 09:48:02 +0100
commitf741cccd456be47c0b56f5468df851f1182f4a1b (patch)
tree43fb91a0069df62a5c119c1dfa51e653682c6ee7 /nixos/tests/searx.nix
parent1013de19f1e1e4235e57c40f3ce3148d0e34fad4 (diff)
nixos/searx: remove settings.yml merging script
Starting with 0.18.0, searx can merge the settings.yml automatically
with the default values, so the script is obsolete.
Diffstat (limited to 'nixos/tests/searx.nix')
-rw-r--r--nixos/tests/searx.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/nixos/tests/searx.nix b/nixos/tests/searx.nix
index 31c3c9bdcb210..357ade1053583 100644
--- a/nixos/tests/searx.nix
+++ b/nixos/tests/searx.nix
@@ -22,13 +22,15 @@ import ./make-test-python.nix ({ pkgs, ...} :
           bind_address = "0.0.0.0";
           secret_key = "@SEARX_SECRET_KEY@";
         };
-      settings.engines = {
-        wolframalpha =
-          { api_key = "@WOLFRAM_API_KEY@";
-            engine = "wolframalpha_api";
-          };
-        startpage.shortcut = "start";
-      };
+      settings.engines = [
+        { name = "wolframalpha";
+          api_key = "@WOLFRAM_API_KEY@";
+          engine = "wolframalpha_api";
+        }
+        { name = "startpage";
+          shortcut = "start";
+        }
+      ];
     };
 
   };
@@ -109,4 +111,3 @@ import ./make-test-python.nix ({ pkgs, ...} :
           )
     '';
 })
-