push
This commit is contained in:
21
modules/fedi/searxng.nix
Executable file
21
modules/fedi/searxng.nix
Executable file
@@ -0,0 +1,21 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# remove sops dependency from searxng module
|
||||
systemd.services.searx-init.serviceConfig.EnvironmentFile = [
|
||||
"/home/bug/nix/modules/fedi/searxng_key"
|
||||
];
|
||||
|
||||
services.searx = {
|
||||
enable = true;
|
||||
redisCreateLocally = false;
|
||||
configureUwsgi = false;
|
||||
settingsFile = config/searxng.yml;
|
||||
environmentFile = "/home/bug/nix/modules/fedi/searxng_key";
|
||||
settings = {
|
||||
server.port = 8888;
|
||||
server.bind_address = "0.0.0.0";
|
||||
server.secret_key = "$SEARX_SECRET_KEY";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user