zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit fc33adb8b95899727b9de9619e7a9c04b5a8c1d0
parent 2ae4d6e7266bd9a737db2cc6dd0c0bbb42cabc38
Author: Katja (zaphyra) <git@ctu.cx>
Date: Tue, 27 May 2025 19:15:36 +0200

flake: add `hydraJobs`
1 file changed, 14 insertions(+), 0 deletions(-)
M
flake.nix
|
14
++++++++++++++
diff --git a/flake.nix b/flake.nix
@@ -113,6 +113,20 @@
         }
       ) inputs.self.hosts;
 
+      hydraJobs = builtins.listToAttrs (
+        builtins.map
+          (
+            name:
+            nixpkgsLib.nameValuePair (
+              name inputs.self.nixosConfigurations."${name}".config.system.build.toplevel
+            )
+          )
+          [
+            # List of systems that should be built by hydra.
+            "empty"
+          ]
+      );
+
       deploy = {
         activationTimeout = 600;
         confirmTimeout = 240;