Fix format error

This commit is contained in:
Victor Mignot 2024-07-26 21:48:03 +02:00 committed by Victor Mignot
parent 86aeff9e76
commit 7ee710a405
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -1,7 +1,8 @@
{ config, ... }:
let
conduitConfig = config.services.matrix-conduit.settings;
in {
in
{
services.matrix-conduit = {
enable = true;
@ -36,7 +37,7 @@ in {
ssl = true;
}
{
addr= "[::]";
addr = "[::]";
port = 8448;
ssl = true;
}
@ -46,12 +47,12 @@ in {
ssl = true;
}
{
addr= "[::]";
addr = "[::]";
port = 443;
ssl = true;
}
];
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://${conduitConfig.global.address}:${builtins.toString conduitConfig.global.port}";
@ -61,7 +62,10 @@ in {
};
};
networking.firewall.allowedTCPPorts = [ 443 8448 ];
networking.firewall.allowedTCPPorts = [
443
8448
];
services.matrix-appservice-discord = {
enable = true;
@ -87,7 +91,7 @@ in {
};
};
environmentFile = config.sops.secrets.discord_bridge_token.path;
serviceDependencies = [ "conduit.service" ];
};
}