refactor: implement intermediate mySecrets options
This commit is contained in:
parent
d756f302d5
commit
55876f2828
7 changed files with 50 additions and 27 deletions
|
|
@ -3,12 +3,11 @@
|
|||
{
|
||||
services.searx = {
|
||||
enable = true;
|
||||
# settings.server.secret_key set in secrets.nix
|
||||
settings = {
|
||||
server = {
|
||||
port = 8082;
|
||||
bind_address = "127.0.0.1";
|
||||
# secret_key = ...; # Set via env var in file
|
||||
secret_key = config.mySecrets.searxKey;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue