flake.nix: add hydraJobs

This commit is contained in:
Astro 2021-11-10 00:33:29 +01:00
parent dee06b4790
commit 9ac30f5afa
1 changed files with 6 additions and 0 deletions

View File

@ -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};
};
}