2.home-manager/tests/modules/programs/codex/skills-inline-legacy-path.nix
Austin Horstman e0bcb05ce9 tests/codex: update skills tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-03-01 09:18:14 -06:00

26 lines
529 B
Nix

{ config, ... }:
let
codexPackage = config.lib.test.mkStubPackage {
name = "codex";
version = "0.93.0";
};
in
{
programs.codex = {
enable = true;
package = codexPackage;
skills = {
inline-skill = ''
# Inline Skill
'';
};
};
nmt.script = ''
assertFileExists home-files/.codex/skills/inline-skill/SKILL.md
assertFileContent home-files/.codex/skills/inline-skill/SKILL.md \
${builtins.toFile "expected-inline-skill.md" ''
# Inline Skill
''}
'';
}