diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-06-19 07:04:30 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-06-19 07:06:43 +0200 |
commit | 931b1bb0f13dd9cff603ca4756d3177c81681a2e (patch) | |
tree | b2972396e300d9700d363732af3f2e58fc912028 /nixos/tests/searx.nix | |
parent | 3dc779576e8ec7e3fe641a0830d68df31ec61976 (diff) |
nixos/searx: switch from `handleTest` to `runTests`
Diffstat (limited to 'nixos/tests/searx.nix')
-rw-r--r-- | nixos/tests/searx.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nixos/tests/searx.nix b/nixos/tests/searx.nix index 02a88f690db78..36ba30c8ea42a 100644 --- a/nixos/tests/searx.nix +++ b/nixos/tests/searx.nix @@ -1,4 +1,4 @@ -import ./make-test-python.nix ({ pkgs, ...} : +{ pkgs, ...} : { name = "searx"; @@ -8,8 +8,6 @@ import ./make-test-python.nix ({ pkgs, ...} : # basic setup: searx running the built-in webserver nodes.base = { ... }: { - imports = [ ../modules/profiles/minimal.nix ]; - services.searx = { enable = true; environmentFile = pkgs.writeText "secrets" '' @@ -37,8 +35,6 @@ import ./make-test-python.nix ({ pkgs, ...} : # fancy setup: run in uWSGI and use nginx as proxy nodes.fancy = { config, ... }: { - imports = [ ../modules/profiles/minimal.nix ]; - services.searx = { enable = true; # searx refuses to run if unchanged @@ -111,4 +107,4 @@ import ./make-test-python.nix ({ pkgs, ...} : "${pkgs.curl}/bin/curl --fail http://localhost/searx/static/themes/simple/js/leaflet.js >&2" ) ''; -}) +} |