nixos/open-webui: quote services.open-webui.host in start script (#378244)

This commit is contained in:
Pol Dellaiera
2025-01-31 14:10:37 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ in
} // cfg.environment;
serviceConfig = {
ExecStart = "${lib.getExe cfg.package} serve --host ${cfg.host} --port ${toString cfg.port}";
ExecStart = "${lib.getExe cfg.package} serve --host \"${cfg.host}\" --port ${toString cfg.port}";
EnvironmentFile = lib.optional (cfg.environmentFile != null) cfg.environmentFile;
WorkingDirectory = cfg.stateDir;
StateDirectory = "open-webui";
+1
View File
@@ -15,6 +15,7 @@ in
{
services.open-webui = {
enable = true;
host = "";
environment = {
# Requires network connection
RAG_EMBEDDING_MODEL = "";