fix(#2422): honor the service-mode host default
This commit is contained in:
parent
d77d956380
commit
5bd940a49b
2 changed files with 2 additions and 2 deletions
|
|
@ -427,7 +427,7 @@ services.hermes-webui = {
|
|||
};
|
||||
```
|
||||
|
||||
Keep the module default host at `127.0.0.1`. Set `host = "0.0.0.0"` only when you also provide auth, for example `HERMES_WEBUI_PASSWORD` via `environmentFiles`.
|
||||
The module defaults to `0.0.0.0` for a network-reachable system service. Pair that with auth, for example `HERMES_WEBUI_PASSWORD` via `environmentFiles`, or override `host = "127.0.0.1"` when you want loopback-only access.
|
||||
|
||||
You can also set `agent.package` instead of `agent.dir` when you are using a compatible Hermes Agent package layout. The module derives `HERMES_WEBUI_AGENT_DIR` from `<pkg>/share/hermes-agent` and sets `HERMES_WEBUI_PYTHON` from the package's `passthru.hermesVenv` interpreter so bootstrap can use agent dependencies without creating a local `.venv`.
|
||||
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ in
|
|||
|
||||
host = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "127.0.0.1";
|
||||
default = "0.0.0.0";
|
||||
description = "Value for HERMES_WEBUI_HOST.";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue