hermes-agent/nix
alt-glitch 22a60ab474 fix(nix): preserve container writable layer across nixos-rebuild
The container identity hash included the entrypoint's Nix store path,
which changes on every nixpkgs update (due to runtimeShell/stdenv
input-addressing). This caused false-positive identity mismatches,
triggering container recreation and losing the persistent writable layer.

- Use stable symlink (current-entrypoint) like current-package already does
- Remove entrypoint from identity hash (only image/volumes/options matter)
- Add GC root for entrypoint so nix-collect-garbage doesn't break it
- Remove global HERMES_HOME env var from addToSystemPackages (conflicted
  with interactive CLI use, service already sets its own)
2026-03-25 23:47:28 +05:30
..
checks.nix fix(nix): skip checks on aarch64-darwin (onnxruntime wheel missing) 2026-03-25 12:02:47 +05:30
config-keys.json fix(nix): add compression.protect_last_n and target_ratio to config-keys.json 2026-03-25 11:47:16 +05:30
configMergeScript.nix feat(nix): persistent /home/hermes and MESSAGING_CWD in container mode 2026-03-25 11:31:54 +05:30
devShell.nix feat: nix flake, uv2nix build, dev shell and home manager 2026-03-25 11:31:54 +05:30
nixosModules.nix fix(nix): preserve container writable layer across nixos-rebuild 2026-03-25 23:47:28 +05:30
packages.nix fix reading .env. instead have container user a common mounted .env file 2026-03-25 11:31:54 +05:30
python.nix feat: nix flake, uv2nix build, dev shell and home manager 2026-03-25 11:31:54 +05:30