diff --git a/modules/nixos/services/searx/default.nix b/modules/nixos/services/searx/default.nix index e27920e..02f8cad 100644 --- a/modules/nixos/services/searx/default.nix +++ b/modules/nixos/services/searx/default.nix @@ -58,7 +58,7 @@ in public_instance = false; image_proxy = true; method = "GET"; - } // (if hostname == ceres then { base_url = host; } else { }); + } // (if hostname == ceres.name then { base_url = host; } else { }); engines = lib.mapAttrsToList (name: value: { inherit name; } // value) { "duckduckgo".disabled = false; "brave".disabled = false; @@ -143,7 +143,7 @@ in }; } // ( - if hostname == ceres then + if hostname == ceres.name then { caddy = { virtualHosts = {