feat(nixos): move smb credentials to server module and add librechat secrets

This commit is contained in:
Mohammad Rafiq 2025-06-17 10:18:25 +08:00
parent 8e9af60c16
commit 9c4fd69420
No known key found for this signature in database
5 changed files with 30 additions and 43 deletions

View file

@ -23,6 +23,12 @@ mkWebApp {
default = "mongodb://${config.hostname}:27017/LibreChat";
};
extraConfig = {
sops.secrets = {
"librechat/creds_key" = { };
"librechat/creds_iv" = { };
"librechat/jwt_secret" = { };
"librechat/jwt_refresh_secret" = { };
};
services.librechat = {
enable = true;
openFirewall = true;