flake: add system checks for critical machines

This commit is contained in:
Aaron Bieber 2023-01-05 08:45:45 -07:00
parent 1e3e736b05
commit 5a5dcfe9b3
No known key found for this signature in database

View File

@ -85,7 +85,8 @@
, mcchunkie, gqrss, darwin, xin-secrets, talon, peerix, ... }@inputs:
let
supportedSystems =
[ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
[ "x86_64-linux" ];
#[ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
forAllSystems = unstable.lib.genAttrs supportedSystems;
nixpkgsFor = forAllSystems (system: import unstable { inherit system; });
hostBase = {
@ -300,5 +301,11 @@
path = ./templates/ocaml;
description = "OCaml template.";
};
# TODO: magicify this to be built of a list
checks.x86_64-linux.europa = self.nixosConfigurations.europa.config.system.build.toplevel;
checks.x86_64-linux.h = self.nixosConfigurations.h.config.system.build.toplevel;
checks.x86_64-linux.box = self.nixosConfigurations.box.config.system.build.toplevel;
checks.x86_64-linux.faf = self.nixosConfigurations.faf.config.system.build.toplevel;
};
}