From a468ef741c176342179650e39abb5f28131122ae Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 26 Nov 2021 14:53:56 +0100 Subject: rename attrsets of virtualhosts for more concision --- config/services/web/searx/morty/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/services/web/searx/morty') diff --git a/config/services/web/searx/morty/default.nix b/config/services/web/searx/morty/default.nix index 1920701..af48fda 100644 --- a/config/services/web/searx/morty/default.nix +++ b/config/services/web/searx/morty/default.nix @@ -2,7 +2,7 @@ let cfg = config.services.morty; in { - services.nginx.virtualHosts."searx.${config.networking.domain}".locations = + services.nginx.virtualHosts.searx.locations = lib.mkIf cfg.enable { "/morty/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; -- cgit v1.2.3