mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
Include various tests for the agents and command file generation and different ways of configuring it. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
13 lines
316 B
Nix
13 lines
316 B
Nix
{
|
|
programs.opencode = {
|
|
enable = true;
|
|
commands = {
|
|
test-command = ./test-command.md;
|
|
};
|
|
};
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/opencode/command/test-command.md
|
|
assertFileContent home-files/.config/opencode/command/test-command.md \
|
|
${./test-command.md}
|
|
'';
|
|
}
|