Add hosts and packages to checks

This commit is contained in:
Greg Hellings
2025-12-07 00:22:29 -06:00
parent d9e4ba93ac
commit 16dd009a98
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -2,6 +2,7 @@
hooks, hooks,
lib, lib,
system, system,
top,
... ...
}: }:
@@ -37,3 +38,5 @@
}; };
}; };
} }
// (builtins.mapAttrs (_n: v: v.config.system.build.toplevel) top.self.nixosConfigurations)
// (top.self.packages.${system})
+1 -1
View File
@@ -114,7 +114,7 @@
packages = (import ./pkgs { inherit pkgs top; }) // (import ./vms { inherit top; }); packages = (import ./pkgs { inherit pkgs top; }) // (import ./vms { inherit top; });
checks = import ./checks.nix { checks = import ./checks.nix {
inherit system; inherit system top;
inherit (top) hooks; inherit (top) hooks;
inherit (pkgs) lib; inherit (pkgs) lib;
}; };