Unverified Commit 539300c5 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

parents 8a030400 af749a3a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;