nixos/matrix-conduit: add database_backend option

This commit is contained in:
Julius de Bruijn 2022-02-04 21:04:46 +01:00
parent a9c5c63cbc
commit 57db7bcdd6

@ -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 = {};