hosts/library: enable API keys for open-webui
Some checks failed
Check flake / build-amd64-linux (push) Failing after 1s

This commit is contained in:
2026-01-24 11:57:32 +00:00
parent 551ed303da
commit 26e688d507

View File

@@ -24,6 +24,7 @@ in
in
{
WEBUI_URL = publicUrl;
ENABLE_API_KEYS = "True";
ENABLE_LOGIN_FORM = "False";
ENABLE_OAUTH_SIGNUP = "True";
ENABLE_OAUTH_ROLE_MANAGEMENT = "True";
@@ -33,6 +34,7 @@ in
OPENID_PROVIDER_URL = "https://auth.vimium.com/oauth2/openid/${clientId}/.well-known/openid-configuration";
OPENID_REDIRECT_URI = "${publicUrl}/oauth/oidc/callback";
CORS_ALLOW_ORIGIN = "*";
USER_PERMISSIONS_FEATURES_API_KEYS = "True";
# Fix from https://github.com/NixOS/nixpkgs/pull/431395
STATIC_DIR = "${stateDir}/static";