flake: convert secrets to module argument

This commit is contained in:
Infinidoge 2025-01-15 23:21:51 -05:00
parent 941b8060c9
commit 303c344ffb
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
7 changed files with 13 additions and 12 deletions

View file

@ -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";