feat(hermes): add engram as pinned flake input for external skills #2

Merged
harald merged 1 commit from hermes/engram-flake-input-260804 into main 2026-08-04 17:47:43 +02:00 AGit
Contributor

Integrate Nagisanzenin's engram learning engine into the Hermes host
declaratively from a pinned flake input (flake=false, lock-pinned):

  • systems/x86_64-linux/hermes/default.nix:
    • settings.skills.external_dirs -> ${inputs.engram}/skills so the
      /skill learn|review|coach loop is available read-only from the store.
    • settings.hooks.pre_llm_call runs the session-start-hermes.sh nudge
      hook (ambient "[engram] N reviews due", silent when nothing is due),
      with hooks_auto_accept for non-interactive gateway operation.
    • environment.ENGRAM_ROOT points at the pinned source so the skills
      resolve their shared scripts/engram.py engine regardless of cwd.
    • extraPackages += pkgs.python3 so the gateway unit PATH can run the
      python3-based nudge hook.
  • flake.nix: add github:nagisanzenin/engram as flake=false input,
    mirroring obsidian-skills (repo carries no flake.nix).
Integrate Nagisanzenin's engram learning engine into the Hermes host declaratively from a pinned flake input (flake=false, lock-pinned): - systems/x86_64-linux/hermes/default.nix: - settings.skills.external_dirs -> `${inputs.engram}/skills` so the /skill learn|review|coach loop is available read-only from the store. - settings.hooks.pre_llm_call runs the session-start-hermes.sh nudge hook (ambient "[engram] N reviews due", silent when nothing is due), with hooks_auto_accept for non-interactive gateway operation. - environment.ENGRAM_ROOT points at the pinned source so the skills resolve their shared scripts/engram.py engine regardless of cwd. - extraPackages += pkgs.python3 so the gateway unit PATH can run the python3-based nudge hook. - flake.nix: add github:nagisanzenin/engram as flake=false input, mirroring obsidian-skills (repo carries no flake.nix).
Integrate Nagisanzenin's engram learning engine into the Hermes host
declaratively from a pinned flake input (flake=false, lock-pinned):

- systems/x86_64-linux/hermes/default.nix:
  - settings.skills.external_dirs -> `${inputs.engram}/skills` so the
    /skill learn|review|coach loop is available read-only from the store.
  - settings.hooks.pre_llm_call runs the session-start-hermes.sh nudge
    hook (ambient "[engram] N reviews due", silent when nothing is due),
    with hooks_auto_accept for non-interactive gateway operation.
  - environment.ENGRAM_ROOT points at the pinned source so the skills
    resolve their shared scripts/engram.py engine regardless of cwd.
  - extraPackages += pkgs.python3 so the gateway unit PATH can run the
    python3-based nudge hook.
- flake.nix: add github:nagisanzenin/engram as flake=false input,
  mirroring obsidian-skills (repo carries no flake.nix).
harald approved these changes 2026-08-04 17:47:39 +02:00
harald merged commit c5e1ef5939 into main 2026-08-04 17:47:43 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harald/nixcfg!2
No description provided.