refactor(agents): remove global context file

This commit is contained in:
2026-09-02 19:58:54 -04:00
parent 1bc59d3736
commit 5590fe10da
2 changed files with 0 additions and 55 deletions

View File

@@ -1,21 +0,0 @@
{
config,
lib,
...
}:
# Shared global instructions for agent harnesses.
let
user = config.user.name;
context = builtins.readFile ./AGENTS.md;
in
{
config = lib.mkMerge [
(lib.mkIf config.modules.agents.claude-code.enable {
home-manager.users.${user}.programs.claude-code.context = context;
})
(lib.mkIf config.modules.agents.pi.enable {
home-manager.users.${user}.programs.pi-coding-agent.context = context;
})
];
}