From 9ac30f5afad5b32463f933c65b47b77beeb0a572 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 10 Nov 2021 00:33:29 +0100 Subject: [PATCH] flake.nix: add hydraJobs --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 541efbbc..1e61559b 100644 --- a/flake.nix +++ b/flake.nix @@ -486,5 +486,11 @@ nixosModule = import ./lib; nixosModules.c3d2 = self.nixosModule; + + hydraJobs = forAllSystems (system: + nixpkgs.lib.filterAttrs (_: nixosSystem: + system == nixosSystem.config.system.build.toplevel.system + ) self.nixosConfigurations + ) // self.packages.${system}; }; }