modules/matrix: rename used config options

This commit is contained in:
b12f 2024-10-30 18:34:25 +01:00 committed by teutat3s
parent 9d9bcf9a15
commit 041d311bb2
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 5 additions and 8 deletions

View file

@ -63,21 +63,18 @@
# matrix-synapse # matrix-synapse
age.secrets."matrix-synapse-signing-key" = { age.secrets."matrix-synapse-signing-key" = {
file = "${flake.self}/secrets/matrix-synapse-signing-key.age"; file = "${flake.self}/secrets/matrix-synapse-signing-key.age";
path = "/run/agenix/matrix-synapse-signing-key";
mode = "400"; mode = "400";
owner = "matrix-synapse"; owner = "matrix-synapse";
}; };
age.secrets."matrix-synapse-secret-config.yaml" = { age.secrets."matrix-synapse-secret-config.yaml" = {
file = "${flake.self}/secrets/matrix-synapse-secret-config.yaml.age"; file = "${flake.self}/secrets/matrix-synapse-secret-config.yaml.age";
path = "/run/agenix/matrix-synapse-secret-config.yaml";
mode = "400"; mode = "400";
owner = "matrix-synapse"; owner = "matrix-synapse";
}; };
age.secrets."matrix-synapse-sliding-sync-secret" = { age.secrets."matrix-synapse-sliding-sync-secret" = {
file = "${flake.self}/secrets/matrix-synapse-sliding-sync-secret.age"; file = "${flake.self}/secrets/matrix-synapse-sliding-sync-secret.age";
path = "/run/agenix/matrix-synapse-sliding-sync-secret";
mode = "400"; mode = "400";
owner = "matrix-synapse"; owner = "matrix-synapse";
}; };

View file

@ -217,7 +217,7 @@ in
} }
]; ];
signing_key_path = config.pub-solar-os.matrix-synapse.signing_key_path; signing_key_path = config.pub-solar-os.matrix.synapse.signing_key_path;
stream_writers = { }; stream_writers = { };
trusted_key_servers = [ { server_name = "matrix.org"; } ]; trusted_key_servers = [ { server_name = "matrix.org"; } ];
@ -263,12 +263,12 @@ in
}; };
user_ips_max_age = "28d"; user_ips_max_age = "28d";
app_service_config_files = config.pub-solar-os.matrix-synapse.app-service-config-files; app_service_config_files = config.pub-solar-os.matrix.synapse.app-service-config-files;
}; };
withJemalloc = true; withJemalloc = true;
extraConfigFiles = config.pub-solar-os.matrix-synapse.extra-config-files; extraConfigFiles = config.pub-solar-os.matrix.synapse.extra-config-files;
extras = [ extras = [
"oidc" "oidc"
@ -327,7 +327,7 @@ in
}; };
services.matrix-sliding-sync = { services.matrix-sliding-sync = {
enable = config.pub-solar-os.matrix-synapse.sliding-sync.enable; enable = config.pub-solar-os.matrix.synapse.sliding-sync.enable;
settings = { settings = {
SYNCV3_SERVER = "https://${publicDomain}"; SYNCV3_SERVER = "https://${publicDomain}";
SYNCV3_BINDADDR = "127.0.0.1:8011"; SYNCV3_BINDADDR = "127.0.0.1:8011";
@ -335,7 +335,7 @@ in
# /metrics at this address # /metrics at this address
SYNCV3_PROM = "127.0.0.1:9100"; SYNCV3_PROM = "127.0.0.1:9100";
}; };
environmentFile = config.age.secrets."nachtigall-matrix-synapse-sliding-sync-secret".path; environmentFile = config.age.secrets."matrix-synapse-sliding-sync-secret".path;
}; };
pub-solar-os.backups.restic.matrix-synapse = { pub-solar-os.backups.restic.matrix-synapse = {