codex: externalize generated system skills
This commit is contained in:
@@ -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"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user