From 5a5dcfe9b37678f5b261bd2204f81f5003320c49 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 5 Jan 2023 08:45:45 -0700 Subject: [PATCH] flake: add system checks for critical machines --- flake.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index bcd3ce3..bfafb9f 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }