1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/opencode/themes-path.nix
Thierry Delafontaine 6ea30b26cd opencode: make the themes also accept path
- Removed unnecessary empty-themes test.
2025-10-19 09:47:26 -05:00

11 lines
283 B
Nix

{
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;
};
}