From 5bd940a49beb01ef2775b578433e94de306b6723 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Thu, 2 Jul 2026 14:19:24 -0400 Subject: [PATCH] fix(#2422): honor the service-mode host default --- README.md | 2 +- nix/nixosModules.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a32985d9..cd6f9a88 100644 --- a/README.md +++ b/README.md @@ -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 `/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`. diff --git a/nix/nixosModules.nix b/nix/nixosModules.nix index 7ff50204..58b9ea70 100644 --- a/nix/nixosModules.nix +++ b/nix/nixosModules.nix @@ -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."; };