diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-01-12 22:53:25 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2021-01-14 09:48:02 +0100 |
commit | f741cccd456be47c0b56f5468df851f1182f4a1b (patch) | |
tree | 43fb91a0069df62a5c119c1dfa51e653682c6ee7 /nixos/tests/searx.nix | |
parent | 1013de19f1e1e4235e57c40f3ce3148d0e34fad4 (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.nix | 17 |
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, ...} : ) ''; }) - |