From 686df31049c6fdc97417beb565ffc7edfc21bc2d Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 29 Apr 2026 13:14:55 -0500 Subject: [PATCH] chore: make garnix builds an array --- garnix.yaml | 56 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/garnix.yaml b/garnix.yaml index 81e8a1b..8853eb4 100644 --- a/garnix.yaml +++ b/garnix.yaml @@ -1,24 +1,34 @@ builds: - exclude: - - "homeConfigurations.*" - - "nixosConfigurations.*" - - "packages.*" - # bitwarden-cli package is broken on aarch64-darwin - - "packages.aarch64-darwin.img-bitwarden" - # kmod-31 is not a thing on Darwin - - "packages.aarch64-darwin.qemu-hook" - - "packages.aarch64-darwin.vfio_shutdown" - - "packages.aarch64-darwin.vfio_startup" - # This one is a bit of a beast and shouldn't take up Garnix time - - "packages.aarch64-darwin.zim" - # These are just images which I will build when - # I feel like it - - "devShells.*" - include: - - "packages.aarch64-darwin.*" - - homeConfigurations.exodus - - darwinConfigurations.MacBook-Pro - - darwinConfigurations.MacBook-Prolocal - - darwinConfigurations.li - - nixosConfigurations.builder-x86 - - nixosConfigurations.builder-aarch + # Exclude most things, as I locally build x86_64-linux and aarch64-linux + - exclude: + - "homeConfigurations.*" + - "nixosConfigurations.*" + - "packages.*" + # bitwarden-cli package is broken on aarch64-darwin + - "packages.aarch64-darwin.img-bitwarden" + # kmod-31 is not a thing on Darwin + - "packages.aarch64-darwin.qemu-hook" + - "packages.aarch64-darwin.vfio_shutdown" + - "packages.aarch64-darwin.vfio_startup" + # This one is a bit of a beast and shouldn't take up Garnix time + - "packages.aarch64-darwin.zim" + # These are just images which I will build when + # I feel like it + - "devShells.*" + include: + - "packages.aarch64-darwin.*" + - darwinConfigurations.MacBook-Pro + - darwinConfigurations.MacBook-Prolocal + - darwinConfigurations.li + # Some specific includes which are not specific enough to override the rules above, + # due to the intrepretation of the glob excludes, but which I still need included + - include: + # These are Mac homeConfigurations, which I do not have the infra to build at home + - homeConfigurations.exodus + - homeConfigurations."gregory.hellings-mbp" + - homeConfigurations.gregs-MacBook-Pro-16-inch-Nov-2024 + # These are builder images used on my Macs, but they can't always access the cache + # on my local infrastructure, so I build them in Garnix so they are accessible + # outside of my network, too + - nixosConfigurations.builder-x86 + - nixosConfigurations.builder-aarch