fix(modules/searx): fix undefined variable 'enable'
Some checks failed
Nix CI / build (push) Failing after 4m11s

This commit is contained in:
Rustam Efimov 2026-04-12 18:14:57 +03:00
parent 90483083ce
commit 181c0dfa6b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ let
cfg = config.machine.searxng;
in
with lib;
mkIf enable {
mkIf cfg.enable {
networking.firewall = {
allowedTCPPorts = [ cfg.port ];
};

View file

@ -8,7 +8,7 @@ let
cfg = config.machine.searxng;
in
with lib;
mkIf enable {
mkIf cfg.enable {
services.searx = {
enable = true;
redisCreateLocally = true;