nixos/hosts/gunter/ollama.nix
Torjus Håkestad 5dcb37dd58
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Add note about PR fixing open-webui failure
2024-12-30 10:50:36 +01:00

18 lines
419 B
Nix

{ pkgs, lib, ... }:
{
services.ollama = {
enable = true;
acceleration = "cuda";
};
services.open-webui = {
enable = lib.warn "open-webui disabled due to build failure. Should be fixed by #368411" false;
environment = {
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434";
WEBUI_AUTH = "False";
};
port = 11444;
};
}