mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
- Introduce `rules` option to provide global custom instructions for opencode - Write `rules` content to `~/.config/opencode/AGENTS.md` if non-empty - Update tests to cover presence and absence of `AGENTS.md` file with rules content
9 lines
154 B
Nix
9 lines
154 B
Nix
{
|
|
programs.opencode = {
|
|
enable = true;
|
|
rules = "";
|
|
};
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/opencode/AGENTS.md
|
|
'';
|
|
}
|