diff --git a/docs/nixos-setup.md b/docs/nixos-setup.md index fc1b923c3d85..fb34ad369f32 100644 --- a/docs/nixos-setup.md +++ b/docs/nixos-setup.md @@ -114,15 +114,11 @@ To run hermes-agent as a **always-on service** for Telegram, Discord, or Slack ( ### Step 3: API keys ```bash -mkdir -p ~/.hermes -cat > ~/.hermes/.env << 'EOF' -OPENROUTER_API_KEY=sk-or-v1-xxxxxxxxxxxxx -TELEGRAM_BOT_TOKEN=123456789:ABCdefGHIjklMNOpqrSTUvwxYZ -TELEGRAM_ALLOWED_USERS=123456789 -EOF -chmod 600 ~/.hermes/.env +hermes setup ``` +The interactive wizard walks you through configuring API keys (OpenRouter, Telegram, Discord, etc.) and writes them to `~/.hermes/.env`. + ### Step 4: Enable linger + activate ```bash diff --git a/nix/packages.nix b/nix/packages.nix index 6e327477bcfc..5b0b84f55080 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -59,6 +59,7 @@ meta = with pkgs.lib; { description = "AI agent with advanced tool-calling capabilities"; homepage = "https://github.com/NousResearch/hermes-agent"; + mainProgram = "hermes"; license = licenses.mit; platforms = platforms.unix; };