diff --git a/nixos/hosts/ingress-proxy/default.nix b/nixos/hosts/ingress-proxy/default.nix index 995f066..606f94e 100644 --- a/nixos/hosts/ingress-proxy/default.nix +++ b/nixos/hosts/ingress-proxy/default.nix @@ -50,9 +50,9 @@ in { enableACME = true; locations."=/.well-known/matrix/server" = let - alias = pkgs.writeText "well-known-matrix-server" builtins.toJSON { + alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON { "m.server" = "mx.sapphic.engineer"; - }; + }); in { alias = "${alias}"; extraConfig = '' @@ -61,11 +61,11 @@ in { }; locations."=/.well-known/matrix/client" = let - alias = pkgs.writeText "well-known-matrix-client" builtins.toJSON { + alias = pkgs.writeText "well-known-matrix-client" (builtins.toJSON { "m.homeserver" = { base_url = "https://mx.sapphic.engineer"; }; - }; + }); in { alias = "${alias}"; extraConfig = ''