This commit is contained in:
parent
7e0dd5acd2
commit
4ad607bd49
2 changed files with 1 additions and 4 deletions
|
|
@ -16,9 +16,6 @@ mkIf cfg.enable {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
sops.templates.searxng-env = {
|
sops.templates.searxng-env = {
|
||||||
owner = config.users.users.matrix-synapse.name;
|
|
||||||
inherit (config.users.users.matrix-synapse) group;
|
|
||||||
restartUnits = [ "matrix-synapse.service" ];
|
|
||||||
content = ''
|
content = ''
|
||||||
SEARXNG_SECRET_KEY=${config.sops.placeholder."searxng/secretKey"};
|
SEARXNG_SECRET_KEY=${config.sops.placeholder."searxng/secretKey"};
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
redisCreateLocally = true;
|
redisCreateLocally = true;
|
||||||
domain = cfg.domain;
|
domain = cfg.domain;
|
||||||
environmentFile = config.sops.secrets.searx.path;
|
environmentFile = config.sops.templates.searxng-env.path;
|
||||||
|
|
||||||
# Rate limiting
|
# Rate limiting
|
||||||
limiterSettings = {
|
limiterSettings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue