mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
23 lines
495 B
Nix
23 lines
495 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.searxng."searxng1" = {
|
|
enable = true;
|
|
use_default_settings = false;
|
|
settings = {
|
|
doi_resolvers."dummy" = "http://example.org";
|
|
default_doi_resolver = "dummy";
|
|
};
|
|
};
|
|
|
|
settings.processes.test = {
|
|
command = pkgs.writeShellApplication {
|
|
runtimeInputs = [ pkgs.curl ];
|
|
text = ''
|
|
curl http://127.0.0.1:8080
|
|
'';
|
|
name = "searxng-test";
|
|
};
|
|
depends_on."searxng1".condition = "process_healthy";
|
|
};
|
|
}
|