mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 23:20:18 +02:00
(feat): reformatted code for flakes usage
This commit is contained in:
parent
d29d6f0133
commit
c3956d6fa4
40 changed files with 130 additions and 76 deletions
18
features/server/searx.nix
Normal file
18
features/server/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