20 lines
383 B
Nix
20 lines
383 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
services.searx = {
|
|
enable = true;
|
|
package = pkgs.searxng;
|
|
environmentFile = config.sops.secrets."searx/environment".path;
|
|
settings = {
|
|
general.contact_url = "mailto:guanran928@outlook.com";
|
|
search.autocomplete = "google";
|
|
server = {
|
|
port = 8100;
|
|
secret_key = "@SEARX_SECRET@";
|
|
};
|
|
};
|
|
};
|
|
}
|