opencode: add themes option

Add themes option to configure custom themes through nix.
Define a submodule for the settings option, to give the `theme` setting
a description.
This commit is contained in:
Mirza Arnaut 2025-10-18 03:16:46 +02:00 committed by Austin Horstman
parent 722792af09
commit fc837be107
5 changed files with 488 additions and 2 deletions

View file

@ -0,0 +1,9 @@
{
programs.opencode = {
enable = true;
themes = { };
};
nmt.script = ''
assertPathNotExists home-files/.config/opencode/themes
'';
}