Files
nixos/home-modules/opencode-config.nix
T

20 lines
372 B
Nix
Raw Normal View History

{ ... } : {
home.file.".config/opencode/opencode.jsonc" = {
text = ''
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"edit": "ask",
"bash": {
"git status": "allow",
"git diff": "allow",
"ls": "allow",
"pwd": "allow",
"*": "ask"
}
}
}
'';
};
}