services/searxng: don't define SOPS variable
This commit is contained in:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user