checks: rename attributes for better discoverability

- all eval checks prefixed with `eval-`
- all service checks prefixed with `service-`
This commit is contained in:
DavHau
2025-06-30 19:04:21 +07:00
parent 5f7c55c93f
commit ee5fa8fe74
7 changed files with 30 additions and 28 deletions

View File

@@ -62,26 +62,28 @@ in
in
lib.mkMerge [
# Add the VM tests as checks
(lib.mapAttrs (
_name: testModule:
nixosLib.runTest (
{ ... }:
{
imports = [
self.modules.nixosTest.clanTest
testModule
];
hostPkgs = pkgs;
defaults = {
(lib.mapAttrs' (
name: testModule:
lib.nameValuePair "service-${name}" (
nixosLib.runTest (
{ ... }:
{
imports = [
{
_module.args.clan-core = self;
}
self.modules.nixosTest.clanTest
testModule
];
};
}
hostPkgs = pkgs;
defaults = {
imports = [
{
_module.args.clan-core = self;
}
];
};
}
)
)
) cfg)