opencode: init (#7320)
This commit is contained in:
parent
f117b383dd
commit
5a49fe448e
4 changed files with 78 additions and 0 deletions
16
tests/modules/programs/opencode/settings.nix
Normal file
16
tests/modules/programs/opencode/settings.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "opencode";
|
||||
model = "anthropic/claude-sonnet-4-20250514";
|
||||
autoshare = false;
|
||||
autoupdate = true;
|
||||
};
|
||||
};
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/opencode/config.json
|
||||
assertFileContent home-files/.config/opencode/config.json \
|
||||
${./config.json}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue