Files
home-manager/tests/modules/programs/opencode/commands-path.nix

14 lines
318 B
Nix

{
programs.opencode = {
enable = true;
commands = {
test-command = ./test-command.md;
};
};
nmt.script = ''
assertFileExists home-files/.config/opencode/commands/test-command.md
assertFileContent home-files/.config/opencode/commands/test-command.md \
${./test-command.md}
'';
}