summaryrefslogtreecommitdiffstats
path: root/configs/hermes.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configs/hermes.nix')
-rw-r--r--configs/hermes.nix11
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 ];
};