nixos/matrix-conduit: add database_backend option
This commit is contained in:
parent
a9c5c63cbc
commit
57db7bcdd6
1 changed files with 9 additions and 0 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue