matrix-synapse: default server_name to hostname
This commit is contained in:
parent
a4b7de74a5
commit
fbba0d0ee5
|
@ -186,6 +186,7 @@ in {
|
||||||
server_name = mkOption {
|
server_name = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
example = "example.com";
|
example = "example.com";
|
||||||
|
default = config.networking.hostName;
|
||||||
description = ''
|
description = ''
|
||||||
The domain name of the server, with optional explicit port.
|
The domain name of the server, with optional explicit port.
|
||||||
This is used by remote servers to connect to this server,
|
This is used by remote servers to connect to this server,
|
||||||
|
|
Loading…
Reference in New Issue