This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

machines.coaxmetal.hermes: make bundled skills writable

+13
+13
machines/coaxmetal/hermes.nix
··· 536 536 echo "retiolum has no global address after 60s; API server stays on localhost" >&2 537 537 exit 0 538 538 ''}" 539 + # Bundled skills are copied out of the Nix store with shutil.copytree, 540 + # which keeps the store's r-x/r-- modes, so skill_manage could not patch 541 + # them ("Permission denied: skills/productivity/maps/.tmp_…"). Seed them 542 + # here instead of at gateway start, then make them writable; the gateway's 543 + # own sync then finds nothing to copy (its hash is content-only, so the 544 + # chmod does not mark them user-modified). `opt-in` only drops the 545 + # .no-bundled-skills marker, which this host never sets. 546 + "${pkgs.writeShellScript "hermes-skills-writable" '' 547 + set -eu 548 + hermes skills opt-in --sync 549 + ${pkgs.findutils}/bin/find ${config.services.hermes-agent.stateDir}/.hermes/skills \ 550 + ! -perm -u+w -exec ${pkgs.coreutils}/bin/chmod u+w {} + 551 + ''}" 539 552 ]; 540 553 541 554 # The packet filter drops INPUT by default here (configs/default.nix sets