summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/matrix/default.nix13
1 files 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;