diff options
| author | tv <tv@krebsco.de> | 2026-11-20 05:35:23 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-20 06:36:28 +0100 |
| commit | dafc1ef0fd5162d823d065fcc728797a09677330 (patch) | |
| tree | 147d3d78022845c0bdf3273398a8e38942ff629f /configs | |
| parent | 9f0e585a376bff4c7fb38d73a15f196b96a445f0 (diff) | |
configs/hermes: serve the Webapp, for the host
The gateway serves the Webapp, Hermes Desktop in a browser, on port
9120. Bound to 0.0.0.0, so the host can reach it at the guest's
address, which needs the dashboard's sign-in: username, password (or
its hash) and a token-signing secret, as HERMES_DASHBOARD_BASIC_AUTH_*
in hermes.env in the host's xchg, merged into ~/.hermes/.env at boot.
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/hermes.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/hermes.nix b/configs/hermes.nix index f989c06..c80a7b2 100644 --- a/configs/hermes.nix +++ b/configs/hermes.nix @@ -109,6 +109,17 @@ in provider = "claude-subscription-directsdk-experimental"; default = "opus"; }; + # The Webapp (Hermes Desktop in a browser), served by the gateway, for + # the host at http://GUEST:9120. Off loopback, it needs a sign-in: + # put HERMES_DASHBOARD_BASIC_AUTH_USERNAME, ..._PASSWORD (or + # ..._PASSWORD_HASH) and ..._SECRET (32+ random bytes) into hermes.env + # in the host's xchg, which is read at boot. + settings.webapp = { + enabled = true; + host = "0.0.0.0"; + port = 9120; + }; + environmentFiles = [ "/xchg/hermes.env" ]; # The login is in ~/.claude, i.e. in stateDir. extraPackages = [ claude-code ]; }; |
