fix extraConfigFiles

This commit is contained in:
Motiejus Jakštys 2023-08-25 16:03:46 +03:00
parent ac50f832da
commit 2776f8c517

View File

@ -14,13 +14,13 @@
config = lib.mkIf config.mj.services.matrix-synapse.enable { config = lib.mkIf config.mj.services.matrix-synapse.enable {
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
extraConfigFiles = ["/run/matrix-synapse/secrets.yaml"];
settings = { settings = {
server_name = "jakstys.lt"; server_name = "jakstys.lt";
admin_contact = "motiejus@jakstys.lt"; admin_contact = "motiejus@jakstys.lt";
enable_registration = false; enable_registration = false;
report_stats = true; report_stats = true;
signing_key_path = "/run/matrix-synapse/jakstys_lt_signing_key"; signing_key_path = "/run/matrix-synapse/jakstys_lt_signing_key";
extraConfigFiles = ["/run/matrix-synapse/secrets.yaml"];
log_config = pkgs.writeText "log.config" '' log_config = pkgs.writeText "log.config" ''
version: 1 version: 1
formatters: formatters: