refactor(librechat): declare options nicely
This commit is contained in:
parent
e93a25d791
commit
c113b5d3ef
2 changed files with 208 additions and 30 deletions
|
@ -27,12 +27,15 @@
|
|||
databases.mongodb.enable = true;
|
||||
librechat = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
host = "0.0.0.0";
|
||||
mongodbURI = "mongodb://apollo:27017";
|
||||
creds_key_file = config.sops.secrets."librechat/creds_key".path;
|
||||
creds_iv_file = config.sops.secrets."librechat/creds_iv".path;
|
||||
jwt_secret_file = config.sops.secrets."librechat/jwt_secret".path;
|
||||
jwt_refresh_secret_file = config.sops.secrets."librechat/jwt_refresh_secret".path;
|
||||
meili_master_key_file = config.sops.secrets."librechat/meili_master_key".path;
|
||||
credentials = {
|
||||
creds_key_file = config.sops.secrets."librechat/creds_key".path;
|
||||
creds_iv_file = config.sops.secrets."librechat/creds_iv".path;
|
||||
jwt_secret_file = config.sops.secrets."librechat/jwt_secret".path;
|
||||
jwt_refresh_secret_file = config.sops.secrets."librechat/jwt_refresh_secret".path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue