mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
moved deprecated option
This commit is contained in:
parent
d0ea95e291
commit
8cbca1d8d3
1 changed files with 18 additions and 20 deletions
|
@ -22,10 +22,26 @@ in
|
||||||
serverName = baseUrl;
|
serverName = baseUrl;
|
||||||
public_baseurl = baseUrl;
|
public_baseurl = baseUrl;
|
||||||
enable_registration = false;
|
enable_registration = false;
|
||||||
|
listeners = [
|
||||||
|
{
|
||||||
|
port = 8008;
|
||||||
|
bind_addresses = [ "::1" ];
|
||||||
|
type = "http";
|
||||||
|
tls = false;
|
||||||
|
x_forwarded = true;
|
||||||
|
resources = [
|
||||||
|
{
|
||||||
|
names = [
|
||||||
|
"client"
|
||||||
|
"federation"
|
||||||
|
];
|
||||||
|
compress = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
configureRedisLocally = true;
|
|
||||||
|
|
||||||
extras = [
|
extras = [
|
||||||
"systemd"
|
"systemd"
|
||||||
"postgres"
|
"postgres"
|
||||||
|
@ -35,24 +51,6 @@ in
|
||||||
|
|
||||||
extraConfigFiles = [ "/run/secrets/matrix-shared-secret" ];
|
extraConfigFiles = [ "/run/secrets/matrix-shared-secret" ];
|
||||||
|
|
||||||
listeners = [
|
|
||||||
{
|
|
||||||
port = 8008;
|
|
||||||
bind_addresses = [ "::1" ];
|
|
||||||
type = "http";
|
|
||||||
tls = false;
|
|
||||||
x_forwarded = true;
|
|
||||||
resources = [
|
|
||||||
{
|
|
||||||
names = [
|
|
||||||
"client"
|
|
||||||
"federation"
|
|
||||||
];
|
|
||||||
compress = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue