Limit build targets

This commit is contained in:
Greg Hellings
2025-12-07 15:41:42 -06:00
parent e5a3c24058
commit 5b5bd56b52
2 changed files with 13 additions and 4 deletions
+3 -1
View File
@@ -38,5 +38,7 @@
};
};
}
// (builtins.mapAttrs (_n: v: v.config.system.build.toplevel) top.self.nixosConfigurations)
// (builtins.mapAttrs (_n: v: v.config.system.build.toplevel) (
lib.filterAttrs (_n: v: v.pkgs.stdenv.hostPlatform.system == system) top.self.nixosConfigurations
))
// (top.self.packages.${system})
+10 -3
View File
@@ -18,7 +18,14 @@ in
qemu-hook = c ./qemu-hook.nix { };
setup-ssh = c ./setup-ssh { };
upgrade-pg-cluster = c ./upgrade-pg-cluster.nix { };
vfio_startup = c ./vfio_startup.nix { };
vfio_shutdown = c ./vfio_shutdown.nix { };
zim = c ./zim.nix { };
}
// (
if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then
{
vfio_startup = c ./vfio_startup.nix { };
vfio_shutdown = c ./vfio_shutdown.nix { };
zim = c ./zim.nix { };
}
else
{ }
)