hermes-speckl/nix/packages.nix
agent-engineering c0f064add0 fix: include messaging dependency group in default Hermes build
Adds discord.py, python-telegram-bot, slack-bolt, and other messaging
platform libraries to the default Hermes derivation. This is required
for Discord/Slack/Telegram channel integration in k3s-deployed agents.

The [all] extras group stopped including messaging on 2026-05-12
(switched to lazy-install), but our Nix-built container images have
no pip available for runtime lazy installation.

Closes #2
2026-05-14 16:05:55 -07:00

27 lines
849 B
Nix

{ inputs, ... }:
{
flake.packages = forAllSystems (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
# Hermes agent with messaging platform support (Discord, Slack, Telegram)
default = inputs.hermes-agent.packages.${system}.default.override {
extraDependencyGroups = [ "messaging" ];
}; = pkgs.writeTextDir "speckl-config.yaml" ''
# Speckl SME — generated config
# Override via services.hermes-speckl.settings
model:
default: "anthropic/claude-opus-4.6"
memory:
memory_enabled: true
skill_generation: true
user_profile_enabled: true
toolsets:
- all
'';
}
);
# Helper: build for the standard platforms
forAllSystems = inputs.nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
}