mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
19 lines
351 B
Nix
19 lines
351 B
Nix
{ config, ... }:
|
|
{
|
|
sops.secrets."searx" = {
|
|
sopsFile = ../secrets/searx.env;
|
|
format = "dotenv";
|
|
};
|
|
|
|
services.searx = {
|
|
enable = true;
|
|
redisCreateLocally = true;
|
|
settings = {
|
|
server.port = 8080;
|
|
server.secret_key = builtins.toJSON config.sops.secrets."searx";
|
|
|
|
server.bind_address = "0.0.0.0";
|
|
};
|
|
};
|
|
}
|