services/searxng: don't define SOPS variable

This commit is contained in:
2025-09-01 09:28:43 -07:00
parent 79d1da2a6f
commit d3a9644f8d

View File

@@ -28,18 +28,11 @@ in
};
config = mkIf cfg.enable {
sops.secrets."SEARXNG_SECRETS" = {
sopsFile = cfg.environmentFile;
format = "binary";
owner = "searxng";
mode = 0400;
};
services.searx = {
enable = true;
package = pkgsUnstable.searxng;
redisCreateLocally = true;
environmentFile = config.sops.secrets."SEARXNG_SECRETS".path;
environmentFile = cfg.environmentFile;
settings = {
general = {