nixos/matrix-synapse: remove web_client option

Removed in matrix-synapse-0.34.
This commit is contained in:
Martin Milata 2020-02-27 22:26:11 +01:00
parent 696274fae7
commit 2acddcb28f

View File

@ -31,7 +31,6 @@ bind_host: "${cfg.bind_host}"
''} ''}
server_name: "${cfg.server_name}" server_name: "${cfg.server_name}"
pid_file: "/run/matrix-synapse.pid" pid_file: "/run/matrix-synapse.pid"
web_client: ${boolToString cfg.web_client}
${optionalString (cfg.public_baseurl != null) '' ${optionalString (cfg.public_baseurl != null) ''
public_baseurl: "${cfg.public_baseurl}" public_baseurl: "${cfg.public_baseurl}"
''} ''}
@ -202,13 +201,6 @@ in {
This is also the last part of your UserID. This is also the last part of your UserID.
''; '';
}; };
web_client = mkOption {
type = types.bool;
default = false;
description = ''
Whether to serve a web client from the HTTP/HTTPS root resource.
'';
};
public_baseurl = mkOption { public_baseurl = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = null; default = null;
@ -719,6 +711,7 @@ in {
Database configuration must be done manually. An exemplary setup is demonstrated in Database configuration must be done manually. An exemplary setup is demonstrated in
<nixpkgs/nixos/tests/matrix-synapse.nix> <nixpkgs/nixos/tests/matrix-synapse.nix>
'') '')
(mkRemovedOptionModule [ "services" "matrix-synapse" "web_client" ] "")
]; ];
meta.doc = ./matrix-synapse.xml; meta.doc = ./matrix-synapse.xml;