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