codex: externalize generated system skills

This commit is contained in:
2026-04-25 16:15:08 -07:00
committed by Ivan Anthony Malison
parent 2ac7faf884
commit 1bc595dc13
51 changed files with 72 additions and 6916 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
# Replicate the useful part of rcm/rcup:
# - dotfiles live in ~/dotfiles/dotfiles (no leading dots in the repo)
@@ -70,4 +70,8 @@ in
echo "Skipping ~/.emacs.d relink because it is not a symlink" >&2
fi
'';
home.activation.linkCodexSkills = lib.hm.dag.entryAfter ["writeBoundary"] ''
${pkgs.bash}/bin/bash "${worktreeDotfiles}/lib/bin/setup_codex_skills" "${worktreeDotfiles}/agents/skills"
'';
}