New checks

This commit is contained in:
Andrea Ciceri 2023-04-13 18:11:04 +02:00
parent 545d968d20
commit 893480e3e3
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -1,6 +1,7 @@
{
inputs,
self,
lib,
...
}: {
imports = [
@ -21,8 +22,14 @@
};
};
flake.checks.x86_64-linux =
builtins.mapAttrs
(_: nc: nc.config.system.build.toplevel)
self.nixosConfigurations;
flake.checks = let
build = _: nc: nc.config.system.build.toplevel;
in {
x86_64-linux = lib.mapAttrs build {
inherit (self.nixosConfigurations) hs thinkpad mothership;
};
aarch64-linux = {
inherit (self.nixosConfigurations) pbp rock5b;
};
};
}