Rename matrix-synapse module to matrix
This commit is contained in:
parent
ddaa465004
commit
2f8f03faf8
@ -62,7 +62,7 @@
|
||||
};
|
||||
gitea.enable = true;
|
||||
headscale.enable = true;
|
||||
matrix-synapse = {
|
||||
matrix = {
|
||||
enable = true;
|
||||
usePostgresql = databases.postgresql.enable;
|
||||
bridges = [
|
||||
|
@ -43,7 +43,7 @@
|
||||
./services/gitea-runner
|
||||
./services/headscale
|
||||
./services/mail
|
||||
./services/matrix-synapse
|
||||
./services/matrix
|
||||
./services/nginx
|
||||
./services/photoprism
|
||||
./shell/git
|
||||
|
@ -6,17 +6,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.modules.services.matrix-synapse;
|
||||
cfg = config.modules.services.matrix;
|
||||
validBridges = [
|
||||
"signal"
|
||||
"whatsapp"
|
||||
];
|
||||
in {
|
||||
options.modules.services.matrix-synapse = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
options.modules.services.matrix = {
|
||||
enable = lib.mkEnableOption "matrix";
|
||||
enableElementWeb = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
@ -219,5 +216,11 @@ in {
|
||||
};
|
||||
} // commonBridgeSettings "mautrix-whatsapp";
|
||||
};
|
||||
|
||||
services.matrix-sliding-sync = lib.mkIf cfg.slidingSync.enable {
|
||||
enable = true;
|
||||
environmentFile = null;
|
||||
settings = { SYNCV3_SERVER = "https://${cfg.serverName}"; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user