| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The console is root's again. hermes runs as hermes in a tmux started by
hermes-tmux.service, and root's login shell attaches to it; detaching
gives root's shell back. tmux lets root attach to another user's
server. Quitting hermes ends the session, and systemd starts a new
one.
|
| |
|
|
|
|
|
| |
The console logs in as hermes instead of root, and the hermes CLI goes
into that user's packages instead of the system's. The user's home is
the service's stateDir, so the CLI finds the service's state at
~/.hermes without HERMES_HOME set system-wide.
|
|
|
Hermes Agent from its own NixOS module, imported through flake-compat,
with what this guest needs on top:
- nixos-init doesn't run activation scripts, so the module's setup runs
as hermes-agent-setup.service before the gateway
- state lives on the rw-store drive, as /var is a tmpfs
- the hermes user doesn't linger, as users.manageLingering is off
(hermes' cron needs a user manager; nothing else does)
The API key comes from /xchg/hermes.env.
|