mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
splitted configs in even more files
This commit is contained in:
parent
4c19ad042f
commit
fb2934c4c7
14 changed files with 371 additions and 121 deletions
18
features/searx.nix
Normal file
18
features/searx.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue