Skip to content

searxng ​

Self-hosted meta-search engine

Example ​

nix
{config, ...}: {
  nps.stacks.searxng = {
    enable = true;
    secretKeyFile = config.sops.secrets."searxng/secret_key".path;
  };
}

Stack Options ​

nps.stacks.searxng.enable ​

Whether to enable searxng.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.searxng.extraEnv ​

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

See https://docs.searxng.org/admin/installation-docker.html#environment-variables

Type
plaintext
attribute set of (null or boolean or signed integer or string or absolute path or (submodule))
Default
nix
{ }
Example
nix
{
  SEARXNG_DEBUG = true;
}
Declaration

nps.stacks.searxng.secretKeyFile ​

Path to the file containing the secret key. Can be generated using openssl rand -hex 32.

See https://docs.searxng.org/admin/settings/settings_server.html#server

Type
plaintext
absolute path
Declaration

nps.stacks.searxng.settings ​

Configuration settings for SearXNG. Will be provided as the settings.yml file.

See https://docs.searxng.org/admin/settings/index.html

Type
plaintext
YAML 1.1 value
Default
nix
{ }
Declaration

Container Aliases ​

nps.stacks.searxng.containers.searxng ​

Alias of {option}services.podman.containers.searxng.

Type
plaintext
submodule
Declaration

nps.stacks.searxng.containers.searxng-valkey ​

Alias of {option}services.podman.containers.searxng-valkey.

Type
plaintext
submodule
Declaration