mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
opencode: minor cleanup of option description
This commit is contained in:
parent
2b73c2fcca
commit
63dd0e9409
1 changed files with 7 additions and 2 deletions
|
|
@ -39,12 +39,13 @@ in
|
|||
description = ''
|
||||
Configuration written to {file}`$XDG_CONFIG_HOME/opencode/config.json`.
|
||||
See <https://opencode.ai/docs/config/> for the documentation.
|
||||
'"$schema": "https://opencode.ai/config.json"' is automatically added to the config.
|
||||
|
||||
Note, `"$schema": "https://opencode.ai/config.json"` is automatically added to the configuration.
|
||||
'';
|
||||
};
|
||||
|
||||
rules = lib.mkOption {
|
||||
type = lib.types.lines;
|
||||
description = "You can provide global custom instructions to opencode; this value is written to {file}~/.config/opencode/AGENTS.md";
|
||||
default = "";
|
||||
example = lib.literalExpression ''
|
||||
'''
|
||||
|
|
@ -72,6 +73,10 @@ in
|
|||
Read the following file immediately as it's relevant to all workflows: @rules/general-guidelines.md.
|
||||
'''
|
||||
'';
|
||||
description = ''
|
||||
You can provide global custom instructions to opencode; this value is
|
||||
written to {file}`$XDG_CONFIG_HOME/opencode/AGENTS.md`.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue