nixos/open-webui: try to fix the database readonly issue (#431395)

This commit is contained in:
Pol Dellaiera
2025-08-06 16:41:03 +02:00
committed by GitHub
+4 -4
View File
@@ -89,10 +89,10 @@ in
after = [ "network.target" ];
environment = {
STATIC_DIR = ".";
DATA_DIR = ".";
HF_HOME = ".";
SENTENCE_TRANSFORMERS_HOME = ".";
STATIC_DIR = "${cfg.stateDir}/static";
DATA_DIR = "${cfg.stateDir}/data";
HF_HOME = "${cfg.stateDir}/hf_home";
SENTENCE_TRANSFORMERS_HOME = "${cfg.stateDir}/transformers_home";
WEBUI_URL = "http://localhost:${toString cfg.port}";
}
// cfg.environment;