This commit is contained in:
2025-07-31 13:43:10 +03:00
parent 38b4f2d634
commit 8cd1c4d276
4 changed files with 38 additions and 4 deletions
+13 -4
View File
@@ -7,11 +7,22 @@
}:
{
services = {
nextjs-ollama-llm-ui.enable = true;
ollama = {
nextjs-ollama-llm-ui.enable = false;
open-webui = {
enable = true;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
WEBUI_AUTH = "False"; # Disable authentication
};
};
ollama = {
enable = false;
package = pkgs.ollama-rocm;
environmentVariables = {
HSA_OVERRIDE_GFX_VERSION = "11.5.0";
HCC_AMDGPU_TARGET = "gfx1150"; # used to be necessary, but doesn't seem to anymore
};
user = "ollama"; # "${inputs.zeroq.devices.admin}";
@@ -23,8 +34,6 @@
};
};
services.open-webui.enable = true;
nixpkgs.config.permittedInsecurePackages = [
"libsoup-2.74.3"
];