fix: matrix host stuffzies

This commit is contained in:
xyno (Philipp Hochkamp) 2023-08-07 15:20:48 +02:00
parent 96a4ece962
commit ae32486447

View file

@ -33,7 +33,7 @@ in
services.matrix-synapse = {
enable = true;
settings.server_name = serverName;
extraConfigFiles = [ ms ];
extraConfigFiles = [ "/host${ms}" ];
settings.database.args.user = "matrix-synapse-xynospace";
settings.database.name = "psycopg2";
settings.database.args.database = "matrix-synapse-xynospace";
@ -61,7 +61,7 @@ in
autoStart = true;
bindMounts = {
"/run/agenix" = { hostPath = "/run/agenix"; isReadOnly = true; };
"/host/run" = { hostPath = "/run"; isReadOnly = true; };
"/run/agenix.d" = { hostPath = "/run/agenix.d"; isReadOnly = true; };
};