forked from pub-solar/infra
modules/matrix: rename used config options
This commit is contained in:
parent
9d9bcf9a15
commit
041d311bb2
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue