Open WebUI
Open WebUI is an extensible, self-hosted AI interface that adapts to your workflow, all while operating entirely offline.
View the nix-core NixOS module on GitHub.
References
Configuration
NixOS
{ inputs, ... }:
{
imports = [ inputs.core.nixosModules.open-webui ];
services.open-webui.enable = true;
}
Web-UI
- Create a new admin user.
- Admin Panel > Dashboard > Add User
- Role: Admin
- Set: Name, Email, Password
- Sign out
- Log in with the new user
- Admin Panel > Dashboard > Edit User
admin@localhost
- Admin deletion does not seem to work at the moment, see this discussion. For now, just set a password for
admin@localhost
. - Add API keys
- Admin Panel > Settings > Connections > OpenAI API > API KEY
- Verify connection, then Save
Setup
Remember to set a CNAME record pointing to your domain.
- Import this module:
- Rebuild your system with
ENABLE_SIGNUP = "True";
: - Visit
SUBDOMAIN.DOMAIN.TLD
. - Click on "Sign up" to create an admin account.
- Disable signups and rebuild.
Troubleshooting
JSON parse error
If you get this error in the web interface:
Clear your browser cache. Steps on Chromium based browsers:
- Open DevTools (F12) → Right-click refresh button
- Click "Empty Cache and Hard Reload"