diff options
author | tim-tx <tim-tx@users.noreply.github.com> | 2022-03-05 11:41:31 -0500 |
---|---|---|
committer | tim-tx <tim-tx@users.noreply.github.com> | 2022-03-05 11:41:31 -0500 |
commit | 5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82 (patch) | |
tree | 6e5a407602af108a6bf911be99dde53d6f152f0d /nixos/modules/services/misc/dendrite.nix | |
parent | 062a0c5437b68f950b081bbfc8a699d57a4ee026 (diff) | |
download | nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar.gz nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar.bz2 nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar.lz nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar.xz nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.tar.zst nixpkgs-5a6b36e498bbc5de5be9a5b85f66f31b6beaaf82.zip |
dendrite: 0.5.1 -> 0.6.5
Diffstat (limited to 'nixos/modules/services/misc/dendrite.nix')
-rw-r--r-- | nixos/modules/services/misc/dendrite.nix | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/dendrite.nix b/nixos/modules/services/misc/dendrite.nix index c967fc3a362..b2885b09415 100644 --- a/nixos/modules/services/misc/dendrite.nix +++ b/nixos/modules/services/misc/dendrite.nix @@ -110,6 +110,15 @@ in ''; }; }; + options.app_service_api.database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:federationapi.db"; + description = '' + Database for the Appservice API. + ''; + }; + }; options.client_api = { registration_disabled = lib.mkOption { type = lib.types.bool; @@ -120,6 +129,91 @@ in ''; }; }; + options.federation_api.database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:federationapi.db"; + description = '' + Database for the Federation API. + ''; + }; + }; + options.key_server.database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:keyserver.db"; + description = '' + Database for the Key Server (for end-to-end encryption). + ''; + }; + }; + options.media_api = { + database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:mediaapi.db"; + description = '' + Database for the Media API. + ''; + }; + }; + base_path = lib.mkOption { + type = lib.types.str; + default = "${workingDir}/media_store"; + description = '' + Storage path for uploaded media. + ''; + }; + }; + options.room_server.database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:roomserver.db"; + description = '' + Database for the Room Server. + ''; + }; + }; + options.sync_api.database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:syncserver.db"; + description = '' + Database for the Sync API. + ''; + }; + }; + options.user_api = { + account_database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:userapi_accounts.db"; + description = '' + Database for the User API, accounts. + ''; + }; + }; + device_database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:userapi_devices.db"; + description = '' + Database for the User API, devices. + ''; + }; + }; + }; + options.mscs = { + database = { + connection_string = lib.mkOption { + type = lib.types.str; + default = "file:mscs.db"; + description = '' + Database for exerimental MSC's. + ''; + }; + }; + }; }; default = { }; description = '' |