From 091af41314b3f6a14c1e8678931e4b97c66e8c8b Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 22 Jul 2023 17:27:16 +0200 Subject: Fix(system/services/matrix): Fix extra " =" in locations path --- system/services/matrix/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/system/services/matrix/default.nix b/system/services/matrix/default.nix index e35c129..a088159 100644 --- a/system/services/matrix/default.nix +++ b/system/services/matrix/default.nix @@ -1,9 +1,4 @@ -{ - pkgs, - lib, - config, - ... -}: let +{pkgs, ...}: let fqdn = "matrix.vhack.eu"; clientConfig."m.homeserver".base_url = "https://${fqdn}"; serverConfig."m.server" = "${fqdn}:443"; @@ -34,8 +29,10 @@ in { "vhack.eu" = { enableACME = true; forceSSL = true; - locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig; - locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig; + locations = { + "/.well-known/matrix/server".extraConfig = mkWellKnown serverConfig; + "/.well-known/matrix/client".extraConfig = mkWellKnown clientConfig; + }; }; "matrix.vhack.eu" = { enableACME = true; -- cgit 1.4.1