mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Use the shared DAG-aware JSON generator for programs.opencode.settings so order-sensitive permission rules can be expressed with lib.hm.dag entries. Add a focused NMT test for last-match-wins permission output and news for existing opencode users.
10 lines
137 B
JSON
10 lines
137 B
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"permission": {
|
|
"bash": {
|
|
"zz *": "ask",
|
|
"aa *": "allow"
|
|
}
|
|
}
|
|
}
|