mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
The `commands`, `agents`, and `themes` options now accept either an attribute set (existing behavior) or a path to a directory containing multiple files. When a directory path is provided, it is symlinked to the appropriate `$XDG_CONFIG_HOME/opencode/` subdirectory. This change aligns with the existing `skills` option implementation and provides a more convenient way to manage multiple configuration files without needing to define each one individually in Nix.
9 lines
147 B
JSON
9 lines
147 B
JSON
{
|
|
"$schema": "https://opencode.ai/theme.json",
|
|
"name": "light-theme",
|
|
"colors": {
|
|
"primary": "#ffffff",
|
|
"secondary": "#f3f3f3"
|
|
}
|
|
}
|