mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-31 17:20:03 +00:00
Add support for managing Copilot CLI global instructions via programs.github-copilot-cli.context, written to copilot-instructions.md under COPILOT_HOME. Also manage custom agents and skills from inline definitions, file paths, and directories, with focused tests and a news entry covering the new options.
13 lines
363 B
Nix
13 lines
363 B
Nix
{
|
|
programs.github-copilot-cli = {
|
|
enable = true;
|
|
agents = ./agents/code-reviewer.agent.md;
|
|
skills = ./skills/data-analysis/SKILL.md;
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
"`programs.github-copilot-cli.agents` must be a directory when set to a path"
|
|
"`programs.github-copilot-cli.skills` must be a directory when set to a path"
|
|
];
|
|
}
|