summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shipunov2023-05-26 21:35:05 +0200
committerGrigory Shipunov2023-05-26 21:35:05 +0200
commiteba375e7b2c03bd72a29f0cbd99e2ca1fcaabf3f (patch)
tree814fdf989102c1fdbd64aee986e8a44ed3d3e616
parentb1e438d1ec4eba518cd54ffc01703b0488d9fb5d (diff)
export hydra jobs
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index de71dcf..17a1c5c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -169,5 +169,11 @@
];
};
};
+
+ hydraJobs =
+ let
+ get-toplevel = (host: nixSystem: nixSystem.config.microvm.declaredRunner or nixSystem.config.system.build.toplevel);
+ in
+ nixpkgs.lib.mapAttrs get-toplevel self.nixosConfigurations;
};
}