nixos/open-webui: quote services.open-webui.host
in start script
This commit is contained in:
parent
04aaf2c3cd
commit
4b9de23515
@ -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";
|
||||
|
@ -15,6 +15,7 @@ in
|
||||
{
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
host = "";
|
||||
environment = {
|
||||
# Requires network connection
|
||||
RAG_EMBEDDING_MODEL = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user