1
0
Fork 0

Hevana: change open-webui save directory to fix a bug

This commit is contained in:
Aires 2025-01-06 20:51:17 +00:00
parent 736705eac1
commit 8e65ddefa4
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ in
SCARF_NO_ANALYTICS = "True"; SCARF_NO_ANALYTICS = "True";
OLLAMA_BASE_URL = "http://127.0.0.1:${builtins.toString api.port}"; OLLAMA_BASE_URL = "http://127.0.0.1:${builtins.toString api.port}";
}; };
stateDir = cfg.home; stateDir = cfg.home; # FIXME: complains of a read-only fs when writing to certain directories. The default seems to work.
}; };
nginx.virtualHosts."${cfg.url}" = { nginx.virtualHosts."${cfg.url}" = {

View file

@ -245,7 +245,7 @@ in
}; };
}; };
open-webui = { open-webui = {
home = "${services-root}/open-webui"; #home = "${services-root}/open-webui";
enable = true; enable = true;
url = config.${namespace}.secrets.services.open-webui.url; url = config.${namespace}.secrets.services.open-webui.url;
ollama.enable = true; ollama.enable = true;