flake.nix: add kernels to hydraJobs
This commit is contained in:
parent
9dbbf590ed
commit
dedc5d9ff8
|
@ -523,6 +523,15 @@
|
|||
) self.nixosConfigurations
|
||||
//
|
||||
self.packages.${system}
|
||||
//
|
||||
# make hydra prebuild all kernels
|
||||
builtins.foldl' (result: hostName:
|
||||
if self.nixosConfigurations.${hostName}.confi.boot.isContainer
|
||||
then result
|
||||
else result // {
|
||||
"${hostName}-kernel" = self.nixosConfigurations.${hostName}.config.boot.kernelPackages.kernel;
|
||||
}
|
||||
) {} (builtins.attrNames self.nixosConfigurations)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue