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;
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 = ''