summaryrefslogtreecommitdiff
path: root/modules/flake/ci.nix
blob: c6372eb64be38bc8207a523dfe17e05dceaed3aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  myLib,
  self,
  ...
}: {
  flake = {
    hydraJobs = let
      supportedSystems = [
        "x86_64-linux"
        "aarch64-linux"
      ];
    in
      with (myLib.my.ci supportedSystems); {
        apps = mkCompatibleApps self.apps;
        checks = mkCompatible self.checks;
        devShells = mkCompatible self.devShells;
        formatter = mkCompatibleFormatters self.formatter;
        homeConfigurations = mkCompatibleHM self.homeConfigurations;
        hosts = mkCompatibleCfg' self.nixosConfigurations;
        packages = mkCompatiblePkgs self.packages;
      };
  };
}