mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
moved deprecated option
This commit is contained in:
parent
d0ea95e291
commit
8cbca1d8d3
|
@ -22,10 +22,26 @@ in
|
|||
serverName = baseUrl;
|
||||
public_baseurl = baseUrl;
|
||||
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 = [
|
||||
"systemd"
|
||||
"postgres"
|
||||
|
@ -35,24 +51,6 @@ in
|
|||
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue