2.home-manager/tests/modules/programs/grype/basic-configuration.nix
Diego Saint Esteben 0143d6ca9b grype: add module
Grype is a vulnerability scanner for container images and filesystems.
2026-03-26 22:51:09 -05:00

21 lines
418 B
Nix

{
programs.grype = {
enable = true;
settings = {
search = {
scope = "squashed";
};
match = {
java = {
using-cpes = false;
};
};
check-for-app-update = false;
};
};
nmt.script = ''
assertFileExists home-files/.config/grype/config.yaml
assertFileContent home-files/.config/grype/config.yaml ${./basic-configuration.yaml}
'';
}