nixos/hosts/gunter/ollama.nix
Torjus Håkestad 4ff6315ea6
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m36s
Periodic flake update / flake-update (push) Successful in 1m20s
Disable open-webui due to broken package
2024-10-15 19:56:39 +02:00

18 lines
402 B
Nix

{ pkgs, lib, ... }:
{
services.ollama = {
enable = true;
acceleration = "cuda";
};
services.open-webui = {
enable = lib.warn "open-webui disabled due to breakage. See PR #348738" 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;
};
}