opencode: make the themes also accept path
- Removed unnecessary empty-themes test.
This commit is contained in:
parent
fddb33a1a5
commit
6ea30b26cd
5 changed files with 31 additions and 18 deletions
11
tests/modules/programs/opencode/themes-path.nix
Normal file
11
tests/modules/programs/opencode/themes-path.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/opencode/themes/my-theme.json
|
||||
assertFileContent home-files/.config/opencode/themes/my-theme.json \
|
||||
${./my-theme.json}
|
||||
'';
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
themes.my-theme = ./my-theme.json;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue