From f90379aa4dc0dbaf0914448a9667a975c1d5aa41 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 4 Dec 2022 14:09:08 +0800 Subject: [PATCH] config: reduce Hydra jobs to only build packages All of the hosts with image format are basically packaged anyways and it also adds unnecessary time to output checks. --- flake.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/flake.nix b/flake.nix index 8baedb39..5e330977 100644 --- a/flake.nix +++ b/flake.nix @@ -474,18 +474,6 @@ # I'm cut off from the rest of my setup with no Hydra instance yet but # I'm sure it will grow some of them as long as you didn't put it under a # rock. - hydraJobs = - lib'.mapAttrs' - (name: config: - lib'.nameValuePair "nixos-${name}" config.config.system.build.toplevel) - self.nixosConfigurations - // lib'.mapAttrs' - (name: config: - lib'.nameValuePair "home-manager-${name}" config.activationPackage) - self.homeManagerConfigurations - // { - build-packages = forAllSystems (system: - self.packages.${system}); - }; + hydraJobs.build-packages = forAllSystems (system: self.packages.${system}); }; }