mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
- buildPythonApplication with Python 3.12 - All extras included (messaging, cron, tts, voice, mcp, honcho, acp) - Custom PyPI packages: fal-client, honcho-ai, agent-client-protocol - NixOS module with systemd service for gateway mode - Runtime deps wrapped: nodejs 22, ripgrep, ffmpeg, git - Flake-based with overlay support
34 lines
920 B
Nix
34 lines
920 B
Nix
{
|
|
description = "Nix package and NixOS module for Hermes Agent by Nous Research";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
packages = {
|
|
hermes-agent = pkgs.callPackage ./package.nix { };
|
|
default = self.packages.${system}.hermes-agent;
|
|
};
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [ self.packages.${system}.hermes-agent ];
|
|
};
|
|
}
|
|
) // {
|
|
nixosModules = {
|
|
hermes-agent = import ./module.nix self;
|
|
default = self.nixosModules.hermes-agent;
|
|
};
|
|
|
|
overlays.default = final: prev: {
|
|
hermes-agent = final.callPackage ./package.nix { };
|
|
};
|
|
};
|
|
}
|