From 57db7bcdd66024424c74480e05f57d23c78c9d8e Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Fri, 4 Feb 2022 21:04:46 +0100 Subject: [PATCH] nixos/matrix-conduit: add database_backend option --- nixos/modules/services/misc/matrix-conduit.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/modules/services/misc/matrix-conduit.nix b/nixos/modules/services/misc/matrix-conduit.nix index d6cd575ee9a3..108f64de7aa9 100644 --- a/nixos/modules/services/misc/matrix-conduit.nix +++ b/nixos/modules/services/misc/matrix-conduit.nix @@ -86,6 +86,15 @@ in and is set to be read only. ''; }; + global.database_backend = mkOption { + type = types.enum [ "sqlite" "rocksdb" ]; + default = "sqlite"; + example = "rocksdb"; + description = '' + The database backend for the service. Switching it on an existing + instance will require manual migration of data. + ''; + }; }; }; default = {};