flake: convert secrets to module argument
This commit is contained in:
parent
941b8060c9
commit
303c344ffb
7 changed files with 13 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, common, ... }:
|
||||
{ config, common, secrets, ... }:
|
||||
let
|
||||
cfg = config.services.searx;
|
||||
domain = common.subdomain "search";
|
||||
|
@ -8,7 +8,7 @@ in
|
|||
enable = true;
|
||||
runInUwsgi = true;
|
||||
redisCreateLocally = true;
|
||||
environmentFile = config.secrets."searx";
|
||||
environmentFile = secrets."searx";
|
||||
uwsgiConfig = {
|
||||
disable-logging = true;
|
||||
socket = "/run/searx/searx.sock";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue