Expand backup and restore capabilities w.r.t. postgresql. #1582

Merged
clan-bot merged 10 commits from synapse into main 2024-06-10 13:24:08 +00:00
2 changed files with 10 additions and 3 deletions
Showing only changes of commit c1aedc5bb8 - Show all commits

View File

@ -13,7 +13,6 @@
clanCore.machineName = "machine";
clanCore.clanDir = ./.;
clan.matrix-synapse = {
enable = true;
domain = "clan.test";
};
}

View File

@ -18,14 +18,22 @@ let
in
{
options.clan.matrix-synapse = {
enable = lib.mkEnableOption "Enable matrix-synapse";
domain = lib.mkOption {
type = lib.types.str;
description = "The domain name of the matrix server";
example = "example.com";
};
};
config = lib.mkIf cfg.enable {
imports = [
(lib.mkRemovedOptionModule [
"clan"
"matrix-synapse"
"enable"
] "Importing the module will already enable the service.")
../postgresql
];
config = {
services.matrix-synapse = {
enable = true;
settings = {