summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configs/hermes: run hermes as hermes in a tmux, attach as roottv7 days1-7/+24
| | | | | | | | 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.
* configs/hermes: use hermes on the console as hermes, not roottv7 days1-3/+6
| | | | | | | 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.
* configs/hermes: add Hermes Agenttv7 days1-0/+50
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.