mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
update nixos module
Can't believe I forgot to do this...
This commit is contained in:
parent
a04951541a
commit
218d75d573
1 changed files with 29 additions and 3 deletions
|
|
@ -44,14 +44,40 @@ in
|
|||
type = types.nonEmptyStr;
|
||||
readOnly = true;
|
||||
description = ''
|
||||
The path to store persistent data in.
|
||||
The path to store database files in.
|
||||
|
||||
Note that this is read-only because this module makes use of
|
||||
systemd's `StateDirectory` option.
|
||||
'';
|
||||
default = if cfg.settings.conduit_compat
|
||||
then "/var/lib/matrix-conduit"
|
||||
else "/var/lib/grapevine";
|
||||
then "/var/lib/matrix-conduit/database"
|
||||
else "/var/lib/grapevine/database";
|
||||
};
|
||||
media.backend = {
|
||||
type = lib.mkOption {
|
||||
type = types.nonEmptyStr;
|
||||
readOnly = true;
|
||||
description = ''
|
||||
The media backend to use.
|
||||
|
||||
Note that this is read-only because `filesystem` is currently
|
||||
the only valid option.
|
||||
'';
|
||||
default = "filesystem";
|
||||
};
|
||||
path = lib.mkOption {
|
||||
type = types.nonEmptyStr;
|
||||
readOnly = true;
|
||||
description = ''
|
||||
The path to store database files in.
|
||||
|
||||
Note that this is read-only because this module makes use of
|
||||
systemd's `StateDirectory` option.
|
||||
'';
|
||||
default = if cfg.settings.conduit_compat
|
||||
then "/var/lib/matrix-conduit/media"
|
||||
else "/var/lib/grapevine/media";
|
||||
};
|
||||
};
|
||||
listen = lib.mkOption {
|
||||
type = types.listOf format.type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue