1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-16 22:11:07 +01:00

opencode: minor cleanup of option description

This commit is contained in:
Robert Helgesson 2025-07-26 10:51:17 +02:00
parent 2b73c2fcca
commit 63dd0e9409
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -39,12 +39,13 @@ in
description = '' description = ''
Configuration written to {file}`$XDG_CONFIG_HOME/opencode/config.json`. Configuration written to {file}`$XDG_CONFIG_HOME/opencode/config.json`.
See <https://opencode.ai/docs/config/> for the documentation. 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 { rules = lib.mkOption {
type = lib.types.lines; type = lib.types.lines;
description = "You can provide global custom instructions to opencode; this value is written to {file}~/.config/opencode/AGENTS.md";
default = ""; default = "";
example = lib.literalExpression '' example = lib.literalExpression ''
''' '''
@ -72,6 +73,10 @@ in
Read the following file immediately as it's relevant to all workflows: @rules/general-guidelines.md. 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`.
'';
}; };
}; };