ingress: shift drvs /encap

This commit is contained in:
41666 2023-12-29 14:34:22 -05:00
parent e4936f55d6
commit 0f5a9f9e5a

View file

@ -50,9 +50,9 @@ in {
enableACME = true; enableACME = true;
locations."=/.well-known/matrix/server" = let 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"; "m.server" = "mx.sapphic.engineer";
}; });
in { in {
alias = "${alias}"; alias = "${alias}";
extraConfig = '' extraConfig = ''
@ -61,11 +61,11 @@ in {
}; };
locations."=/.well-known/matrix/client" = let 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" = { "m.homeserver" = {
base_url = "https://mx.sapphic.engineer"; base_url = "https://mx.sapphic.engineer";
}; };
}; });
in { in {
alias = "${alias}"; alias = "${alias}";
extraConfig = '' extraConfig = ''